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 ''
|
installPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
for file in out-shared/*.dylib*; do
|
for file in out-shared/*.dylib.*.*; do
|
||||||
install_name_tool -id $out/lib/$file $file
|
install_name_tool -id $out/lib/$(basename $file) $file
|
||||||
done
|
done
|
||||||
'') + # XXX consider removing above after transition to cmake in the next release
|
'') + # XXX consider removing above after transition to cmake in the next release
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user