[oe-commits] [meta-openembedded] 02/44: uw-imap: use cross-tools to create static library
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 27 14:46:20 UTC 2016
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit e865a47cb6cefd6e3cd2cd804258c9ba53f57ae2
Author: S. Lockwood-Childs <sjl at vctlabs.com>
AuthorDate: Fri Jul 15 00:46:54 2016 -0700
uw-imap: use cross-tools to create static library
Build was failing with complaint:
../c-client/c-client.a: error adding symbols: Archive has no index; run
ranlib to add one
Turns out build was using host tools for 'ar' and 'ranlib'. Solved by
overriding ARRC ('ar' with -rc) and RANLIB on the make command-line,
as was already being done for CC.
Signed-off-by: S. Lockwood-Childs <sjl at vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
index 52b689e..402c42e 100644
--- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
+++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
@@ -20,7 +20,7 @@ S = "${WORKDIR}/imap-${PV}"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
PACKAGECONFIG[pam] = ",,libpam"
-EXTRA_OEMAKE = "CC='${CC}'"
+EXTRA_OEMAKE = "CC='${CC}' ARRC='${AR} -rc' RANLIB='${RANLIB}'"
HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list