mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-30 04:32:21 +02:00
guix: use GUIX_LD_WRAPPER_DISABLE_RPATH for all HOSTS
This commit is contained in:
parent
9ec238d0f3
commit
555fddf646
@ -133,18 +133,7 @@ for p in "${PATHS[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Disable Guix ld auto-rpath behavior
|
# Disable Guix ld auto-rpath behavior
|
||||||
case "$HOST" in
|
export GUIX_LD_WRAPPER_DISABLE_RPATH=yes
|
||||||
*darwin*)
|
|
||||||
# The auto-rpath behavior is necessary for darwin builds as some native
|
|
||||||
# tools built by depends refer to and depend on Guix-built native
|
|
||||||
# libraries
|
|
||||||
#
|
|
||||||
# After the native packages in depends are built, the ld wrapper should
|
|
||||||
# no longer affect our build, as clang would instead reach for
|
|
||||||
# x86_64-apple-darwin-ld from cctools
|
|
||||||
;;
|
|
||||||
*) export GUIX_LD_WRAPPER_DISABLE_RPATH=yes ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Make /usr/bin if it doesn't exist
|
# Make /usr/bin if it doesn't exist
|
||||||
[ -e /usr/bin ] || mkdir -p /usr/bin
|
[ -e /usr/bin ] || mkdir -p /usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user