From 9384ca06c51c3ee981dff8678d8fb7a915b084de Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 20 Jul 2020 17:51:34 +0200 Subject: pkgconfig/osmocodec/osmocoding: link to talloc find . -maxdepth 1 -iname "libosmo*so" | xargs -n1 -I\# sh -c "echo \# && nm \# | grep 'U talloc'" tells us that all libs depend on talloc, but pkgconfig omits it for codec and coding, which sometimes leads to linking issues with libtool and lld. Change-Id: I75a4d39a0c3d53fc4c311e25e933a22832616cea --- libosmocodec.pc.in | 4 ++-- libosmocoding.pc.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libosmocodec.pc.in b/libosmocodec.pc.in index 3030230b..9e058ef7 100644 --- a/libosmocodec.pc.in +++ b/libosmocodec.pc.in @@ -6,6 +6,6 @@ includedir=@includedir@ Name: Osmocom Codec related utilities Library Description: C Utility Library Version: @VERSION@ -Libs: -L${libdir} -losmocodec -Cflags: -I${includedir}/ +Libs: -L${libdir} @TALLOC_LIBS@ -losmocodec +Cflags: -I${includedir}/ @TALLOC_CFLAGS@ diff --git a/libosmocoding.pc.in b/libosmocoding.pc.in index 580b1702..d1d03c42 100644 --- a/libosmocoding.pc.in +++ b/libosmocoding.pc.in @@ -6,6 +6,6 @@ includedir=@includedir@ Name: Osmocom L1 transcoding Library Description: C Utility Library Version: @VERSION@ -Libs: -L${libdir} -losmocoding -losmocodec -losmogsm -losmocore -Cflags: -I${includedir}/ +Libs: -L${libdir} @TALLOC_LIBS@ -losmocoding -losmocodec -losmogsm -losmocore +Cflags: -I${includedir}/ @TALLOC_CFLAGS@ -- cgit v1.2.3