diff mbox series

[oe,meta-oe,3/8] usrsctp: Enabled shared lib

Message ID 20170321063227.11565-3-raj.khem@gmail.com
State Accepted
Commit b26bb1d79c546cd2cafdab2b1e7f79e6b3f126c3
Headers show
Series [oe,meta-oe,1/8] atop: Fix build with musl | expand

Commit Message

Khem Raj March 21, 2017, 6:32 a.m. UTC
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@gmail.com>

---
 meta-networking/recipes-protocols/usrsctp/usrsctp_git.bb | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-- 
2.12.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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"