forked from pool/glslang
This commit is contained in:
parent
0841a0dd54
commit
d6685a9012
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user