summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.frag2
-rw-r--r--scripts/phpize.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag
index 7ae716eba0..debe7a5beb 100644
--- a/scripts/Makefile.frag
+++ b/scripts/Makefile.frag
@@ -4,7 +4,7 @@
#
phpincludedir = $(includedir)/php
-phpbuilddir = $(prefix)/lib/php/build
+phpbuilddir = $(libdir)/build
BUILD_FILES = \
scripts/phpize.m4 \
diff --git a/scripts/phpize.in b/scripts/phpize.in
index 3a90174368..25835a38a6 100644
--- a/scripts/phpize.in
+++ b/scripts/phpize.in
@@ -2,8 +2,8 @@
# Variable declaration
prefix='@prefix@'
-phpdir="$prefix/lib/php/build"
-includedir="$prefix/include/php"
+phpdir="@libdir@/build"
+includedir="@includedir@/php"
builddir="`pwd`"
FILES_BUILD="mkdep.awk scan_makefile_in.awk shtool libtool.m4"