mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
4c032282d8
commit
eeaf3ddde2
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user