13
0

Exclude dbgelp shared libraries from binary bundles

This commit is contained in:
Robin Gareus 2021-02-11 09:57:51 +01:00
parent 0becbe7f4f
commit a38c1cd1f1
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -159,7 +159,15 @@ cp $PREFIX/bin/*.yes $DESTDIR/bin/ || true
cp $PREFIX/lib/*.dll $DESTDIR/bin/
# special case libportaudio (wasapi), old stack has no wasapi and hence no .xp
cp $PREFIX/bin/libportaudio-2.xp $DESTDIR/bin/ || cp $PREFIX/bin/libportaudio-2.dll $DESTDIR/bin/libportaudio-2.xp
# prefer system-wide DLL
rm -rf $DESTDIR/bin/libjack*.dll
# Also for these (even though M$ recommends to bundle these [1],
# there is no single set that works on all target systems, particularly
# since some plugins also rely on it.
# [1] https://docs.microsoft.com/en-us/windows/win32/debug/calling-the-dbghelp-library
rm -rf $DESTDIR/bin/dbghelp*.dll
rm -rf $DESTDIR/bin/dbgcore*.dll
cp `find build/libs/surfaces/ -iname "*.dll"` $ALIBDIR/surfaces/
cp `find build/libs/backends/ -iname "*.dll"` $ALIBDIR/backends/