mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
leveldb: fix rpath setting on Darwin
This commit is contained in:
parent
fb285f2153
commit
f47e6ff4ed
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
for file in out-shared/*.dylib*; do
|
||||
install_name_tool -id $out/lib/$file $file
|
||||
for file in out-shared/*.dylib.*.*; do
|
||||
install_name_tool -id $out/lib/$(basename $file) $file
|
||||
done
|
||||
'') + # XXX consider removing above after transition to cmake in the next release
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user