Allows usage of asio for native packages

Signed-off-by: Bjarne Michelsen <bjarne_michel...@hotmail.com>
---
 meta-oe/recipes-support/asio/asio_1.16.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-support/asio/asio_1.16.1.bb 
b/meta-oe/recipes-support/asio/asio_1.16.1.bb
index f381d12fb..dfc3b798d 100644
--- a/meta-oe/recipes-support/asio/asio_1.16.1.bb
+++ b/meta-oe/recipes-support/asio/asio_1.16.1.bb
@@ -25,3 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
 PACKAGECONFIG ??= "boost"
 
 PACKAGECONFIG[boost] = "--with-boost,--without-boost,boost"
+
+BBCLASSEXTEND += "native nativesdk"
+
+EXTRA_OECONF_class-native += "--with-boost=${STAGING_LIBDIR_NATIVE}"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141674): 
https://lists.openembedded.org/g/openembedded-core/message/141674
Mute This Topic: https://lists.openembedded.org/mt/76310921/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