mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
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];
|
||||
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…
Reference in New Issue
Block a user