diff --git a/glslang.spec b/glslang.spec index 7d94a86..615eaff 100644 --- a/glslang.spec +++ b/glslang.spec @@ -126,13 +126,18 @@ pushd "$b" popd comm -13 "$od/devel.files" "$od/devel_full.files" >"$od/devel2.files" -# 3rd party programs use -lOGLCompiler (because pristine glslang shipped .a files), -# so satisfy them under our shared build. +# 3rd party programs use -lOSDependent (because pristine glslang shipped .a +# files), so satisfy them under our shared build. mkdir -p "$b/%_libdir" for i in libOGLCompiler libOSDependent libGenericCodeGen libMachineIndependent; do ln -s libglslang.so "$b/%_libdir/$i.so" rm -f "$b/%_libdir/$i.a" done +# Gone with glslang 14, redirect to main file +for i in libHLSL libOGLCompiler; do + ln -s libglslang.so "$b/%_libdir/$i.so" + rm -f "$b/%_libdir/$i.a" +done %fdupes %buildroot/%_prefix