forked from mirrors/nixpkgs
Fixing the apache build (comment on the fix in the source)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24032
This commit is contained in:
parent
530ac48a7c
commit
6923539d84
|
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [perl apr aprutil pcre] ++
|
||||
stdenv.lib.optional sslSupport openssl;
|
||||
|
||||
# An apr-util header file includes an apr header file
|
||||
# through #include "" (quotes)
|
||||
# passing simply CFLAGS did not help, then I go by NIX_CFLAGS_COMPILE
|
||||
NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
|
||||
|
||||
configureFlags = ''
|
||||
--with-z=${zlib}
|
||||
--with-pcre=${pcre}
|
||||
|
|
Loading…
Reference in a new issue