SHA256
1
0
forked from pool/glslang
Jan Engelhardt 2023-12-22 20:37:39 +00:00 committed by Git OBS Bridge
parent 0841a0dd54
commit d6685a9012

View File

@ -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