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 <[email protected]>
---
 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

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to