aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-06-08 17:55:21 +0200
committerGitHub <noreply@github.com>2022-06-08 17:55:21 +0200
commit12e86c0735987cbcc90b86122e9588fef4aa9ba5 (patch)
treee96979b61bf24cb343533c18f3424ac6e1f44f8f
parent694b12052a2f3c830daa3acc7696b31a04afe329 (diff)
parent4a3f217bdef1b82b4f90e581e56226d18729f601 (diff)
Merge pull request #6630 from edolstra/boost-dylib
Remove ${boost}/lib from the RPATH
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 1da0a247f..d683570af 100644
--- a/flake.nix
+++ b/flake.nix
@@ -313,6 +313,7 @@
for LIB in $out/lib/*.dylib; do
chmod u+w $LIB
install_name_tool -id $LIB $LIB
+ install_name_tool -delete_rpath ${boost}/lib/ $LIB || true
done
install_name_tool -change ${boost}/lib/libboost_system.dylib $out/lib/libboost_system.dylib $out/lib/libboost_thread.dylib
''}