[oe] [meta-oe][PATCH 3/8] usrsctp: Enabled shared lib
Khem Raj
raj.khem at gmail.com
Tue Mar 21 06:32:22 UTC 2017
webrtc gstreamer plugin fails to build otherwise since
libusrsctp.a is missing link on libss and so on
convert inet support into packageconfigs while here
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
index 99a261ec7..3ec746684 100644
--- a/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
+++ b/meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb
@@ -16,11 +16,9 @@ DEPENDS += "openssl"
CFLAGS += "-DSCTP_USE_OPENSSL_SHA1 -fPIC"
LDFLAGS += "-lssl -lcrypto"
-PACKAGECONFIG ?= "disablewarnings"
+PACKAGECONFIG ?= "disablewarnings inet inet6"
PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,,"
+PACKAGECONFIG[inet] = "--enable-inet,--disable-inet,"
+PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6,"
-EXTRA_OECONF += "--disable-inet \
- --disable-inet6 \
- --disable-shared \
- --disable-debug \
- "
+EXTRA_OECONF += "--disable-debug"
--
2.12.0
More information about the Openembedded-devel
mailing list