From 98ea1a662ee172961feaa374fe8d26078838d250 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Mon, 17 Aug 2020 16:19:39 -0700 Subject: [PATCH] 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 9ff246b..f13d1a8 100755 --- a/configure +++ b/configure @@ -6308,7 +6308,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 -- 2.7.4