lmdb on Darwin: fix bogus library name
This commit is contained in:
parent
6a472cf4c1
commit
61236eb7ee
@ -25,6 +25,12 @@ in stdenv.mkDerivation rec {
|
||||
moveToOutput bin "$bin"
|
||||
moveToOutput "lib/*.a" REMOVE # until someone needs it
|
||||
''
|
||||
|
||||
# fix bogus library name
|
||||
+ stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
mv "$out"/lib/liblmdb.{so,dylib}
|
||||
''
|
||||
|
||||
# add lmdb.pc (dynamic only)
|
||||
+ ''
|
||||
mkdir -p "$dev/lib/pkgconfig"
|
||||
|
Loading…
Reference in New Issue
Block a user