aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore.pc.in
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2022-03-14 11:28:14 +0100
committerlaforge <laforge@osmocom.org>2022-03-24 14:57:22 +0000
commit12eed19066a11aece6f346b54b85326bc6ba7f0b (patch)
treec7088bf5e7c3768a5389a233490ea8df2ddc415f /libosmocore.pc.in
parentbe1338789a8d373b927baa9a2b4b4382b1d16780 (diff)
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
Diffstat (limited to 'libosmocore.pc.in')
-rw-r--r--libosmocore.pc.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/libosmocore.pc.in b/libosmocore.pc.in
index 80f17c8b..3bb9b9ad 100644
--- a/libosmocore.pc.in
+++ b/libosmocore.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom Core Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmocore
-Libs.private: @PTHREAD_LIBS@ @LIBSCTP_LIBS@
-Cflags: -I${includedir}/ @TALLOC_CFLAGS@ @PTHREAD_CFLAGS@
+Requires: talloc, libsctp
+Libs: -L${libdir} -losmocore
+Libs.private: @PTHREAD_LIBS@
+Cflags: -I${includedir}/ @PTHREAD_CFLAGS@