-
Laurent Bercot authored
Linker command line order is important: -la -lb means that liba can depend on libb, but not the other way around. The way make-tinyssh.sh constructs the libs variable from the LIBS environment variable should not reverse the order. Also, local libs like libtinysshcrypto.a should be listed first, so they correctly resolve local symbols (this is important when linking against skalibs, which exports symbols like uint32_unpack_big() with a different signature). Signed-off-by:
Laurent Bercot <ska@appnovation.com>
Laurent Bercot authoredLinker command line order is important: -la -lb means that liba can depend on libb, but not the other way around. The way make-tinyssh.sh constructs the libs variable from the LIBS environment variable should not reverse the order. Also, local libs like libtinysshcrypto.a should be listed first, so they correctly resolve local symbols (this is important when linking against skalibs, which exports symbols like uint32_unpack_big() with a different signature). Signed-off-by:
Laurent Bercot <ska@appnovation.com>
Loading