mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
build: Never strip macOS libraries when cross-compiling
libtool assumes "GNU strip" accepts --strip-unneeded, but at least recent versions of LLVM do not (for MachO) yet claim to be compatible with "GNU strip". For now, we just disable stripping libraries entirely when cross-compiling for macOS.
This commit is contained in:
parent
3e63c467e5
commit
fab39a63d6
@ -739,6 +739,13 @@ case $host in
|
||||
dnl which may not exist in the path. Stripping the .a is not
|
||||
dnl necessary, so just disable it.
|
||||
old_striplib=
|
||||
|
||||
dnl libtool assumes "GNU strip" accepts --strip-unneeded, but at
|
||||
dnl least recent versions of LLVM do not yet claim to be compatible
|
||||
dnl with "GNU strip". For now, we just disable stripping shared
|
||||
dnl libraries too, but it would be better to actually test the strip
|
||||
dnl program (FIXME).
|
||||
striplib=
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user