PHP can take mysql as a arugment

svn path=/nixpkgs/trunk/; revision=9558
This commit is contained in:
Wouter den Breejen 2007-10-30 16:04:45 +00:00
parent ad350d8a80
commit 78746b036b
2 changed files with 6 additions and 2 deletions

View file

@ -14,6 +14,10 @@ fi
if test -n "$postgresql"; then
configureFlags="$configureFlags --with-pgsql=$postgresql"
fi
if test -n "$mysql"; then
configureFlags="$configureFlags --with-mysql=$mysql"
fi
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null, mysql ? null}:
assert libxml2 != null;
@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs = [flex bison libxml2 apacheHttpd];
inherit unixODBC postgresql;
inherit unixODBC postgresql mysql;
odbcSupport = unixODBC != null;