--- embedaddon/build.sh 2012/02/22 00:01:16 1.6 +++ embedaddon/build.sh 2012/02/22 14:22:01 1.6.2.1 @@ -4,7 +4,7 @@ # # ./build.sh [package] [make_tool] [prefix_dir] [build_arch_str] # -# $Id: build.sh,v 1.6 2012/02/22 00:01:16 misho Exp $ +# $Id: build.sh,v 1.6.2.1 2012/02/22 14:22:01 misho Exp $ # CMD=$1 @@ -300,20 +300,24 @@ case $CMD in # rm -f ${P}/lib/libpcrecpp.so*T ${P}/lib/libpcreposix.so*T echo ">>> Now rebuild elwix $CMD program ..." ;; - php) + libxml2) cd libxml2 ./configure --without-python ${PFX} ${MK} clean ${MK} ${MK} install - cd .. + echo ">>> Now rebuild elwix $CMD program ..." + ;; + php) cd php - ./configure --localstatedir=/var --with-config-file-scan-dir=/etc/php --disable-all \ - --enable-libxml=../libxml2/.libs --with-openssl \ + ./configure --with-layout=GNU --localstatedir=/var --with-config-file-scan-dir=/etc/php \ + --disable-all --enable-libxml --enable-xml --with-libxml-dir=${P} --with-openssl \ --enable-zip --enable-sqlite-utf8 ${PFX} ${MK} clean ${MK} ${MK} install + strip ${P}/bin/php + strip ${P}/bin/php-cgi echo ">>> Now rebuild elwix $CMD program ..." ;; scan_ffs)