leveldb: fix install_name on darwin
This commit is contained in:
parent
e120915248
commit
c639649ef0
@ -15,7 +15,12 @@ stdenv.mkDerivation rec {
|
||||
make all leveldbutil libmemenv.a
|
||||
'';
|
||||
|
||||
installPhase = "
|
||||
installPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
for file in *.dylib*; do
|
||||
install_name_tool -id $out/lib/$file $file
|
||||
done
|
||||
'') + # XXX consider removing above after transition to cmake in the next release
|
||||
"
|
||||
mkdir -p $out/{bin,lib,include}
|
||||
|
||||
cp -r include $out
|
||||
|
Loading…
Reference in New Issue
Block a user