]> code.ossystems Code Review - openembedded-core.git/commitdiff
libyaml: Enable static lib on native/nativesdk
authorKhem Raj <raj.khem@gmail.com>
Wed, 13 Jan 2021 00:03:56 +0000 (16:03 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jan 2021 23:13:40 +0000 (23:13 +0000)
Helps building static tools which depend on libyaml during build or
shipped with SDK

libyaml is MIT licensed so static linking would not be as prohibitive

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libyaml/libyaml_0.2.5.bb

index e39a7b9083d281d82ab871665d0e94706e2981fe..778e0916386b5baa93790082c116e9713e72b3ca 100644 (file)
@@ -15,4 +15,7 @@ S = "${WORKDIR}/yaml-${PV}"
 
 inherit autotools
 
+DISABLE_STATIC_class-nativesdk = ""
+DISABLE_STATIC_class-native = ""
+
 BBCLASSEXTEND = "native nativesdk"