redstore: fix build under recent glibc
Previously the build would fail due to, e.g., `getaddrinfo` not being defined.
This commit is contained in:
parent
80c98d76ca
commit
a4ae7b87f0
@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ gmp pkgconfig redland zlib librdf_raptor2 librdf_rasqal ];
|
buildInputs = [ gmp pkgconfig redland zlib librdf_raptor2 librdf_rasqal ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${librdf_raptor2}/include/raptor2"
|
# Define _XOPEN_SOURCE to enable, e.g., getaddrinfo.
|
||||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${librdf_rasqal}/include/rasqal"
|
configureFlagsArray+=(
|
||||||
|
"CFLAGS=-D_XOPEN_SOURCE=600 -I${librdf_raptor2}/include/raptor2 -I${librdf_rasqal}/include/rasqal"
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user