diff options
author | 2014-10-13 12:39:14 +0800 | |
---|---|---|
committer | 2014-10-14 11:48:58 +0200 | |
commit | d1951db22a9971a1bb7cf25810ec3bdc9669a6f1 (patch) | |
tree | fcdb3be5311b03c753cd03a6875996b89475c31c /meta-webserver/recipes-php/modphp/modphp5.inc | |
parent | 681413157866cf2544f27e7ca22496f277e0c63a (diff) | |
download | meta-openembedded-contrib-d1951db22a9971a1bb7cf25810ec3bdc9669a6f1.tar.gz |
modphp: using PKGCONFIG and PACKAGECONFIG for libxml and soap
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-php/modphp/modphp5.inc')
-rw-r--r-- | meta-webserver/recipes-php/modphp/modphp5.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc index 69324295a5..c1cdf726e1 100644 --- a/meta-webserver/recipes-php/modphp/modphp5.inc +++ b/meta-webserver/recipes-php/modphp/modphp5.inc @@ -8,13 +8,14 @@ SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2 \ file://configure.patch \ file://pthread-check-threads-m4.patch \ file://70_mod_php5.conf \ + file://0001-using-pkgconfig-to-check-libxml.patch \ " S = "${WORKDIR}/php-${PV}" LIC_FILES_CHKSUM = "file://LICENSE;md5=52dd90569008fee5bcdbb22d945b1108" -inherit autotools +inherit autotools pkgconfig CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" @@ -32,7 +33,6 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \ --disable-xmlreader \ --disable-xmlwriter \ --disable-simplexml \ - --disable-libxml \ --disable-dom \ --disable-rpath \ --libdir=${libdir}/php5 \ @@ -47,6 +47,8 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \ PACKAGECONFIG ??= "mysql" PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config,--without-mysqli,mysql5" PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,mysql5" +PACKAGECONFIG[libxml] = "--enable-libxml,--disable-libxml,libxml2" +PACKAGECONFIG[soap] = "--enable-libxml --enable-soap, --disable-soap, libxml2" acpaths = "" |