path: root/libosmocodec.pc.in
diff options
authorEric <ewild@sysmocom.de>2020-07-20 17:51:34 +0200
committerEric <ewild@sysmocom.de>2020-07-20 23:52:31 +0200
commit9384ca06c51c3ee981dff8678d8fb7a915b084de (patch)
tree3d98f0f6c48daae4a896897f308fcc96ce3b7a6a /libosmocodec.pc.in
parent1a1de33bf99c950f1414565c287e49b26e8c4217 (diff)
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
Diffstat (limited to 'libosmocodec.pc.in')
1 files changed, 2 insertions, 2 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@