]> code.ossystems Code Review - openembedded-core.git/commitdiff
diffutils: Link with libbcrypt on mingw
authorKhem Raj <raj.khem@gmail.com>
Mon, 14 Feb 2022 04:43:45 +0000 (20:43 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Feb 2022 09:40:40 +0000 (09:40 +0000)
This ensures that symbol is found in the library which is providing it
in mingw runtime >= 9.0.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/diffutils/diffutils_3.8.bb

index a6522967d4778861668cf2575187fb5cb3925b58..12df1598e8ad7de4c08a6a3f51c2fc23b4b84075 100644 (file)
@@ -18,6 +18,7 @@ CFLAGS:mingw32 = " -DSA_RESTART=0"
 # Fix "Argument list too long" error when len(TMPDIR) = 410
 acpaths = "-I ./m4"
 
+EXTRA_OEMAKE:append:mingw32 = " LIBS='-lbcrypt'"
 inherit ptest
 
 RDEPENDS:${PN}-ptest += "make perl"