Issue: LIN1021-1466

Fixed:
DISTRO_FEATURES_append = ' usrmerge'
$ bitbake python3-awscrt

CMake Error at CMakeLists.txt:191 (add_library):
  Target "s2n" links to target "LibCrypto::Crypto" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

(LOCAL REV: NOT UPSTREAM) - Send to upstream on 20210914

Signed-off-by: Robert Yang <liezhi.y...@windriver.com>
---
 recipes-aws/python/python3-awscrt_0.10.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-aws/python/python3-awscrt_0.10.8.bb 
b/recipes-aws/python/python3-awscrt_0.10.8.bb
index 6f44e4c..829f4ac 100644
--- a/recipes-aws/python/python3-awscrt_0.10.8.bb
+++ b/recipes-aws/python/python3-awscrt_0.10.8.bb
@@ -28,8 +28,7 @@ SRC_URI[sha256sum] = 
"c6859e35c57922f175b587e02bfb662ce30a06c9aa688a7303112c91e2
 do_configure_prepend() {
     sed -i \
         -e 's:AWS_LIBCRYPTO_INSTALL = None:AWS_LIBCRYPTO_INSTALL = 
"${RECIPE_SYSROOT}/usr":' \
+        -e 's:/lib/:/${baselib}/:' \
         ${S}/setup.py
-    if !${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; 
then
-        sed -i -e 's:/lib/:${libdir}/:' ${S}/setup.py
     fi
 }
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156037): 
https://lists.openembedded.org/g/openembedded-core/message/156037
Mute This Topic: https://lists.openembedded.org/mt/85620367/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to