summaryrefslogtreecommitdiff
path: root/packages/modphp/modphp5.inc
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-02-21 11:04:52 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-02-21 11:04:52 +0100
commit7fb50539fbb2d619951ad35b72e4d5c1503ee80c (patch)
treefccf32f7448207fe5c7fe46e1e2e1fecdfc85bed /packages/modphp/modphp5.inc
parent2c081a341a3317c31d612b8b22f7389f4d036813 (diff)
modphp: fixed build errors
Diffstat (limited to 'packages/modphp/modphp5.inc')
-rw-r--r--packages/modphp/modphp5.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/modphp/modphp5.inc b/packages/modphp/modphp5.inc
index e8701b0b99..3aaaf03e62 100644
--- a/packages/modphp/modphp5.inc
+++ b/packages/modphp/modphp5.inc
@@ -13,7 +13,8 @@ inherit autotools
FILES_${PN} = "${libdir}/apache2 /etc"
FILES_${PN}-dbg += "${libdir}/apache2/modules/.debug"
-CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
+CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR_NATIVE}/apache2"
+
EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \
--without-mysql \
--enable-force-cgi-redirect \
@@ -29,7 +30,7 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_NATIVE}/apxs \
--disable-simplexml \
--disable-libxml \
--disable-dom \
- --with-zlib --with-zlib-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \
+ --with-zlib --with-zlib-dir=${STAGING_DIR}${layout_exec_prefix}/.. \
--with-config-file-path=/etc/php/apache2-php5"
# --with-libxml-dir=${STAGING_DIR_NATIVE}${layout_exec_prefix} \