nixpkgs/pkgs/development/interpreters/php/builder.sh

21 lines
444 B
Bash
Raw Normal View History

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
if test -n "$postgresql"; then
configureFlags="$configureFlags --with-pgsql=$postgresql"
fi
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
genericBuild