From: Jackie Huang <[email protected]>

It fails to look for libraries when we use lib64 for baselib,
use --with-libdir option to specify the correct directory.

$ ./configure --help|grep '\-\-with-libdir'
 --with-libdir=NAME      Look for libraries in .../NAME rather than .../lib

Signed-off-by: Jackie Huang <[email protected]>
---
 meta-oe/recipes-devtools/php/php_5.5.20.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/php/php_5.5.20.bb 
b/meta-oe/recipes-devtools/php/php_5.5.20.bb
index 1c0557f..cfda14b 100644
--- a/meta-oe/recipes-devtools/php/php_5.5.20.bb
+++ b/meta-oe/recipes-devtools/php/php_5.5.20.bb
@@ -56,6 +56,7 @@ EXTRA_OECONF = "--enable-mbstring \
                 --enable-wddx \
                 --enable-fpm \
                 --enable-zip \
+                --with-libdir=${baselib} \
                 --with-gettext=${STAGING_LIBDIR}/.. \
                 --with-zlib=${STAGING_LIBDIR}/.. \
                 --with-iconv=${STAGING_LIBDIR}/.. \
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to