summaryrefslogtreecommitdiff
path: root/packages/php/php-native.inc
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-09-19 13:38:39 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-09-19 13:38:39 +0000
commitaa64f5f00546cd654b3cd318e6456a25431629bf (patch)
treecbbe41c08d1f2f0e29f90fb13cbb7c90e913fd5a /packages/php/php-native.inc
parenta22e117f3963f19a4bcfb17f80eefc6c9f640285 (diff)
php: fix broken 5.2.6
* drop broken 5.1.4 * not linking with mysql for now because oe build mysql with --enable-embedded-server * http://bugs.mysql.com/bug.php?id=16513 * no fix is available for mysql4.1, waiting for mysql5.x in oe to link with mysql
Diffstat (limited to 'packages/php/php-native.inc')
-rw-r--r--packages/php/php-native.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/php/php-native.inc b/packages/php/php-native.inc
new file mode 100644
index 0000000000..84f9a1a0ee
--- /dev/null
+++ b/packages/php/php-native.inc
@@ -0,0 +1,15 @@
+require php.inc
+
+DEPENDS = "zlib-native libxml2-native"
+
+inherit autotools native pkgconfig
+export LIBS=" -lxml2 "
+export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}"
+
+EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \
+ --with-zlib --with-zlib-dir=${STAGING_LIBDIR_NATIVE} \
+ --without-libpng --without-libjpeg \
+ --with-libxml-dir=${STAGING_BINDIR_NATIVE} \
+ "
+
+FILESPATH = "${FILE_DIRNAME}/php-${PV}:${FILE_DIRNAME}/php:${FILE_DIRNAME}/files"