diff options
author | Livin Sunny <livinsunny519@gmail.com> | 2022-12-12 14:05:58 -0600 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-13 09:18:18 -0800 |
commit | c062df353c274fae782f9c03c62f9ce199efb9f0 (patch) | |
tree | b438f21e635331fdb84e7dbf8a19a33bb6098417 | |
parent | a0250c33c7f2cc5036e840e8ffbd67b7585e7efb (diff) | |
download | meta-openembedded-c062df353c274fae782f9c03c62f9ce199efb9f0.tar.gz |
libwebsockets: add ipv6 in PACKAGECONFIG
Adds a PACKAGECONFIG if ipv6 is enabled in DISTRO_FEATURES.
Signed-off-by: Livin Sunny <livinsunny519@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb index 0ce0513f3..d401a187e 100644 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.2.bb | |||
@@ -14,7 +14,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | |||
14 | 14 | ||
15 | inherit cmake pkgconfig | 15 | inherit cmake pkgconfig |
16 | 16 | ||
17 | PACKAGECONFIG ?= "libuv client server http2 ssl" | 17 | PACKAGECONFIG ?= "libuv client server http2 ssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
18 | PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," | 18 | PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," |
19 | PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," | 19 | PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," |
20 | PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," | 20 | PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," |