Skip to content

Instantly share code, notes, and snippets.

@tkak
Forked from tkuchiki/php-build.patch
Last active August 29, 2015 14:02
Show Gist options
  • Save tkak/e00c7d6e6880ceaa27d0 to your computer and use it in GitHub Desktop.
Save tkak/e00c7d6e6880ceaa27d0 to your computer and use it in GitHub Desktop.
@@ -358,6 +358,11 @@
cd "$source_path"
{
+ if [ -n $APXS ]; then
+ _LIBEXECDIR=`$APXS -q LIBEXECDIR`
+ sed -i -e "s|LIBEXECDIR='\$(INSTALL_ROOT)$_LIBEXECDIR'|LIBEXECDIR=$PREFIX/libexec|" $TMP/source/$DEFINITION/Makefile
+ fi
+
make
make install
make clean
@@ -500,6 +505,7 @@
if [ -z "$apxs" ]; then
apxs="$PHP_BUILD_APXS"
fi
+ APXS="$apxs"
configure_option "--with-apxs2" "$apxs"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment