aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-04-21 10:24:59 +0100
committerfanquake <fanquake@gmail.com>2024-05-22 08:51:33 +0100
commit555fddf646265f7e57a416dc64b171f2c9460e20 (patch)
tree2c47623f68f7afeda3e3bc24c0093dd2a7a3fbe4 /contrib
parent9ec238d0f3c7b97aec83dbeb4c7a6950c8f5125e (diff)
downloadbitcoin-555fddf646265f7e57a416dc64b171f2c9460e20.tar.xz
guix: use GUIX_LD_WRAPPER_DISABLE_RPATH for all HOSTS
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/guix/libexec/build.sh13
1 files changed, 1 insertions, 12 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index e0c8baf3fe..f589ac7a55 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -133,18 +133,7 @@ for p in "${PATHS[@]}"; do
done
# Disable Guix ld auto-rpath behavior
-case "$HOST" in
- *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
+export GUIX_LD_WRAPPER_DISABLE_RPATH=yes
# Make /usr/bin if it doesn't exist
[ -e /usr/bin ] || mkdir -p /usr/bin