summaryrefslogtreecommitdiff
path: root/packages/php/php-native.inc
blob: 1698a80379cabd09841c02ea61e4d8648a822d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"