aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-06-08 13:39:44 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-06-08 15:51:35 +0200
commit4a3f217bdef1b82b4f90e581e56226d18729f601 (patch)
tree925c92a1dccc5e3429140fa3a3a161f8d2f60dc6
parente88892dc2110ee7d5e8e05e6e50fc1382cc8af0f (diff)
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 217c83727..cf1ff6ee9 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
''}