apache-httpd/2.4: Fix libxml2 support.
The reason because the configure script is unnable to find libxml2 is because it is searching for a header file in `libxml/*.h`. Obviously this cases an error, because it's actually in `${libxml2}/include/libxml2/libxml/*.h`, so let's add the parent directory to --with-libxml2 and remove the comment from buildInputs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
07f44ad945
commit
2f3dcb9dd2
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [perl] ++
|
||||
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
||||
optional libxml2Support libxml2; # there is --with-libxml2, but it doesn't work
|
||||
optional libxml2Support libxml2;
|
||||
|
||||
# Required for ‘pthread_cancel’.
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
@ -41,6 +41,7 @@ stdenv.mkDerivation rec {
|
||||
${optionalString proxySupport "--enable-proxy"}
|
||||
${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"}
|
||||
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
|
||||
${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"}
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user