nixpkgs/pkgs/development/interpreters/php/builder.sh
Eelco Dolstra 9f1b5e24ad * Added the MySQL ODBC connector.
* Enable unixODBC support in PHP.
* Build MySQL with thread-safe client libraries.

svn path=/nixpkgs/trunk/; revision=5045
2006-03-15 15:59:20 +00:00

17 lines
347 B
Bash

source $stdenv/setup
alias lex=flex
configureFlags="$configureFlags \
--with-libxml-dir=$libxml2 \
--with-apxs2=$apacheHttpd/bin/apxs \
--with-apr-util=$apacheHttpd"
if test -n "$unixODBC"; then
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
fi
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
genericBuild