diff options
author | S. Lockwood-Childs <sjl@vctlabs.com> | 2016-07-15 00:46:54 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-07-29 11:00:55 +0200 |
commit | eeaf3ddde229240bedb595b30b6ea637fa889b7c (patch) | |
tree | 4a284759b4028842c1e5b71f5f0e0bfd581a87ab /meta-oe/recipes-devtools/uw-imap | |
parent | 4c032282d828347e9e57a2bf71eddf3cbfca4d53 (diff) | |
download | meta-openembedded-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/uw-imap')
-rw-r--r-- | meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 2 |
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 52b689ed6..402c42e41 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}" | |||
20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
21 | PACKAGECONFIG[pam] = ",,libpam" | 21 | PACKAGECONFIG[pam] = ",,libpam" |
22 | 22 | ||
23 | EXTRA_OEMAKE = "CC='${CC}'" | 23 | EXTRA_OEMAKE = "CC='${CC}' ARRC='${AR} -rc' RANLIB='${RANLIB}'" |
24 | 24 | ||
25 | 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" | 25 | 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" |
26 | 26 | ||