mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
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>
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user