Build e2fsprogs at last

svn path=/nixpkgs/trunk/; revision=13719
This commit is contained in:
Michael Raskin
2009-01-06 23:22:29 +00:00
parent 7b6b14df31
commit ed11a2bbc8
2 changed files with 10 additions and 1 deletions

View File

@@ -10,8 +10,12 @@ stdenv.mkDerivation {
configureFlags =
if stdenv ? isDietLibC
then ""
then "--with-diet-libc"
else "--enable-elf-shlibs";
preBuild = if stdenv ? isDietLibC then ''
sed -e 's/-lpthread//' -i Makefile */Makefile */*/Makefile
'' else "";
preInstall = "installFlagsArray=('LN=ln -s')";
@@ -21,6 +25,7 @@ stdenv.mkDerivation {
if stdenv ? isDietLibC then
"-UHAVE_SYS_PRCTL_H " +
(if stdenv.system == "x86_64-linux" then "-DHAVE_LSEEK64_PROTOTYPE=1 -Dstat64=stat" else "")
+ " -lcompat -lpthread "
else "";
meta = {