clean-up pkg-config files: Make use of "Requires" as documented
According to the pkg-config manual, "Libs" should not contain flags
for _required_ packages. Instead, they should be expressed via
"Requires". Let's do that
Change-Id: I2ab1fe8e4bbfc120b471d6c9f2312a89dbc7d42b
diff --git a/libosmocodec.pc.in b/libosmocodec.pc.in
index 9e058ef..0c4de8d 100644
--- a/libosmocodec.pc.in
+++ b/libosmocodec.pc.in
@@ -6,6 +6,6 @@
Name: Osmocom Codec related utilities Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmocodec
-Cflags: -I${includedir}/ @TALLOC_CFLAGS@
-
+Requires: talloc, libosmocore
+Libs: -L${libdir} -losmocodec
+Cflags: -I${includedir}/