aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorS. Lockwood-Childs <sjl@vctlabs.com>2016-07-15 00:46:54 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2016-07-29 11:00:55 +0200
commiteeaf3ddde229240bedb595b30b6ea637fa889b7c (patch)
tree4a284759b4028842c1e5b71f5f0e0bfd581a87ab /meta-oe/recipes-devtools
parent4c032282d828347e9e57a2bf71eddf3cbfca4d53 (diff)
downloadmeta-openembedded-contrib-eeaf3ddde229240bedb595b30b6ea637fa889b7c.tar.gz
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@vctlabs.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb2
1 files changed, 1 insertions, 1 deletions
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 52b689ed68..402c42e417 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"