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
This commit is contained in:
Eric Wild 2020-07-20 17:51:34 +02:00
parent 1a1de33bf9
commit 9384ca06c5
2 changed files with 4 additions and 4 deletions

View File

@ -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@

View File

@ -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@