Exclude dbgelp shared libraries from binary bundles
This commit is contained in:
parent
0becbe7f4f
commit
a38c1cd1f1
@ -159,7 +159,15 @@ cp $PREFIX/bin/*.yes $DESTDIR/bin/ || true
|
|||||||
cp $PREFIX/lib/*.dll $DESTDIR/bin/
|
cp $PREFIX/lib/*.dll $DESTDIR/bin/
|
||||||
# special case libportaudio (wasapi), old stack has no wasapi and hence no .xp
|
# 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
|
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
|
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/surfaces/ -iname "*.dll"` $ALIBDIR/surfaces/
|
||||||
cp `find build/libs/backends/ -iname "*.dll"` $ALIBDIR/backends/
|
cp `find build/libs/backends/ -iname "*.dll"` $ALIBDIR/backends/
|
||||||
|
Loading…
Reference in New Issue
Block a user