3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #29566 from Mic92/gdbm

gdbm: add symlinks for compatibility
This commit is contained in:
Jörg Thalheim 2017-09-20 02:41:57 +01:00 committed by GitHub
commit d6191bd6c2

View file

@ -25,6 +25,17 @@ stdenv.mkDerivation rec {
'';
configureFlags = [ "--enable-libgdbm-compat" ];
postInstall = ''
# create symlinks for compatibility
install -dm755 $out/include/gdbm
(
cd $out/include/gdbm
ln -s ../gdbm.h gdbm.h
ln -s ../ndbm.h ndbm.h
ln -s ../dbm.h dbm.h
)
'';
meta = with lib; {
description = "GNU dbm key/value database library";