mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
gdbm: add symlinks for compatibility
some tools check this location to distinguish between gdbm and ndbm
This commit is contained in:
parent
52d1f68005
commit
3170d8608d
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user