summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-08-17 16:19:39 -0700
committerPhilip Langdale <philipl@overt.org>2020-09-07 13:18:00 -0700
commit98ea1a662ee172961feaa374fe8d26078838d250 (patch)
tree73aa5fa6d05e82b17c3133f8caabebd0435c3126 /configure
parent376c61c61b357265ed692a6a587ef9f0adf1d4a0 (diff)
configure: Add additional glslang libraries to make linking work
The latest builds of glslang introduce new libraries that need to be linked for all symbols to be fully resolved. This change will break building against older installations of glslang and it's very hard to tell them apart as the library change upstream was not accompanied by any version bump and no official release has been made with this change it - just lots of people packaging up git snapshots. So, apologies in advance.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9ff246b07f..f13d1a8c9a 100755
--- a/configure
+++ b/configure
@@ -6347,7 +6347,7 @@ enabled fontconfig && enable libfontconfig
enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit
enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
enabled libfribidi && require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info
-enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
+enabled libglslang && require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++
enabled libgme && { check_pkg_config libgme libgme gme/gme.h gme_new_emu ||
require libgme gme/gme.h gme_new_emu -lgme -lstdc++; }
enabled libgsm && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do