Gamin: Fix compilation with glibc 2.9.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14638
This commit is contained in:
parent
d8e436c742
commit
61e0c6d495
@ -8,5 +8,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [python pkgconfig glib];
|
buildInputs = [python pkgconfig glib];
|
||||||
configureFlags = "--enable-shared --disable-static --disable-debug --with-python=${python}";
|
|
||||||
|
# `_GNU_SOURCE' is needed, e.g., to get `struct ucred' from
|
||||||
|
# <sys/socket.h> with Glibc 2.9.
|
||||||
|
configureFlags = "--enable-shared --disable-static --disable-debug"
|
||||||
|
+ " --with-python=${python} CPPFLAGS=-D_GNU_SOURCE";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user