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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libosmocodec.pc.in') 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@ -- cgit v1.2.3