[oe-commits] [openembedded-core] 04/28: gettext: fix PACKAGECONFIGs
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 25 11:52:28 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 33dcdb5130805540b43e4edaac15007fadb7a46b
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Mon Jan 22 10:52:05 2018 +0000
gettext: fix PACKAGECONFIGs
* add --with-*-prefix variables to prevent configure trying to search in host paths
* fixes:
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
gettext/0.19.8.1-r0/build/gettext-tools/config.log:cc1: warning: include location /usr/include/glib-2.0 is unsafe for cross-compilation [-Wpoison-system-directories]
* not sure if it's worth adding other prefixes for curses related PACKAGECONFIG
PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
--with-libncurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
--without-libncurses-prefix don't search for PACKLIBS in includedir and libdir
--with-libxcurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
--without-libxcurses-prefix don't search for PACKLIBS in includedir and libdir
--with-libcurses-prefix[=DIR] search for PACKLIBS in DIR/include and DIR/lib
--without-libcurses-prefix don't search for PACKLIBS in includedir and libdir
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/gettext/gettext_0.19.8.1.bb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
index 97083c0..8a8a34c 100644
--- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
@@ -43,10 +43,10 @@ PACKAGECONFIG ??= "croco glib libxml libunistring"
PACKAGECONFIG_class-native = ""
PACKAGECONFIG_class-nativesdk = ""
-PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco"
-PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0"
-PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml2"
-PACKAGECONFIG[libunistring] = "--without-included-libunistring,--with-included-libunistring,libunistring"
+PACKAGECONFIG[croco] = "--with-libcroco-0.6-prefix=${STAGING_LIBDIR}/.. --without-included-libcroco,--with-included-libcroco,libcroco"
+PACKAGECONFIG[glib] = "--with-libglib-2.0-prefix=${STAGING_LIBDIR}/.. --without-included-glib,--with-included-glib,glib-2.0"
+PACKAGECONFIG[libxml] = "--with-libxml2-prefix=${STAGING_LIBDIR}/.. --without-included-libxml,--with-included-libxml,libxml2"
+PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/.. --without-included-libunistring,--with-included-libunistring,libunistring"
PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
acpaths = '-I ${S}/gettext-runtime/m4 \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list