Blame SOURCES/glslang_linker_flags.patch

098160
--- a/libshaderc_util/CMakeLists.txt
098160
+++ b/libshaderc_util/CMakeLists.txt
098160
@@ -47,7 +47,7 @@
098160
 find_package(Threads)
098160
 target_link_libraries(shaderc_util PRIVATE
098160
   glslang OSDependent OGLCompiler HLSL glslang SPIRV
098160
-  SPIRV-Tools-opt ${CMAKE_THREAD_LIBS_INIT})
098160
+  SPIRV-Tools-opt MachineIndependent GenericCodeGen ${CMAKE_THREAD_LIBS_INIT})
098160
 
098160
 shaderc_add_tests(
098160
   TEST_PREFIX shaderc_util
098160
098160
--- a/glslc/CMakeLists.txt
098160
+++ b/glslc/CMakeLists.txt
098160
@@ -43,7 +43,7 @@
098160
 endif(SHADERC_ENABLE_WGSL_OUTPUT)
098160
 
098160
 target_link_libraries(glslc PRIVATE
098160
-  glslang OSDependent OGLCompiler HLSL glslang SPIRV    # Glslang libraries
098160
+  glslang OSDependent OGLCompiler HLSL glslang SPIRV MachineIndependent GenericCodeGen # Glslang libraries
098160
   $<$<BOOL:${SHADERC_ENABLE_WGSL_OUTPUT}>:libtint>      # Tint libraries, optional
098160
   shaderc_util shaderc                                  # internal Shaderc libraries
098160
   ${CMAKE_THREAD_LIBS_INIT})
098160