]> code.ossystems Code Review - openembedded-core.git/commit
dropbear: fix -ltomcrypt -ltommath order when using system libtom libs
authorAndre McCurdy <armccurdy@gmail.com>
Fri, 16 Sep 2016 22:29:11 +0000 (15:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Sep 2016 22:57:20 +0000 (23:57 +0100)
commit62e96283fe77469e24e8df86c6c037c92009b00a
tree301acd489c14460149b32a262c43180c59bf2b47
parent93649edc034f2540ff55dc9b41638797209cfb9c
dropbear: fix -ltomcrypt -ltommath order when using system libtom libs

To prevent build failures when using system libtom libraries and
linking with --as-needed, LIBTOM_LIBS should be in the order
-ltomcrypt -ltommath, not the other way around, ie libs should be
prepended to LIBTOM_LIBS as they are found, not appended.

Note that LIBTOM_LIBS is not used when linking with the bundled
libtom libs.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dropbear/dropbear.inc
meta/recipes-core/dropbear/dropbear/fix-libtomcrypt-libtommath-ordering.patch [new file with mode: 0644]