add postInstall to install include files and libraries

svn path=/nixpkgs/trunk/; revision=7544
This commit is contained in:
Armijn Hemel 2007-01-06 22:04:46 +00:00
parent 045cdc51e8
commit 80daff2267

View File

@ -13,6 +13,7 @@ stdenv.mkDerivation {
buildInputs = [gettext];
patches = [./e2fsprogs-1.39_etc.patch];
preInstall = "installFlagsArray=('LN=ln -s')";
postInstall = "make install-libs";
NIX_CFLAGS_COMPILE =
if stdenv ? isDietLibC then "-UHAVE_SYS_PRCTL_H" else "";
}