aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-08-30 22:00:28 +0200
committerHarald Welte <laforge@osmocom.org>2019-09-28 14:36:51 +0200
commit239e1933980d1a53f83c32e37256a369968df3e0 (patch)
treeb57c15fb27ef31e9316ee24f5c463ef5386dfbec
parentd3c08d765d417ceff8a4c4e760fdeb2f8acffaba (diff)
pkg-config: Use 'Requires'laforge/it_q
'Requires' should be used for external dependencies, while 'Libs' only lists the libraries implemented in the respective module. Change-Id: Ifce90e294044af6731507cb9387660c9e524a182
-rw-r--r--libosmocoding.pc.in3
-rw-r--r--libosmocore.pc.in6
-rw-r--r--libosmoctrl.pc.in3
-rw-r--r--libosmogb.pc.in3
-rw-r--r--libosmogsm.pc.in3
-rw-r--r--libosmosim.pc.in3
-rw-r--r--libosmovty.pc.in4
7 files changed, 15 insertions, 10 deletions
diff --git a/libosmocoding.pc.in b/libosmocoding.pc.in
index 580b1702..56aeeb01 100644
--- a/libosmocoding.pc.in
+++ b/libosmocoding.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom L1 transcoding Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} -losmocoding -losmocodec -losmogsm -losmocore
+Requires: libosmocore, libosmogsm, libosmocodec
+Libs: -L${libdir} -losmocoding
Cflags: -I${includedir}/
diff --git a/libosmocore.pc.in b/libosmocore.pc.in
index c2e339e5..d6e0f248 100644
--- a/libosmocore.pc.in
+++ b/libosmocore.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: Osmocom Core Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmocore -lpthread
-Cflags: -I${includedir}/ @TALLOC_CFLAGS@
-
+Requires: talloc
+Libs: -L${libdir} -losmocore -lpthread
+Cflags: -I${includedir}/
diff --git a/libosmoctrl.pc.in b/libosmoctrl.pc.in
index 4676b31d..6e284317 100644
--- a/libosmoctrl.pc.in
+++ b/libosmoctrl.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom Control Interface Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmoctrl -losmogsm -losmocore
+Requires: talloc, libosmocore, libosmogsm
+Libs: -L${libdir} -losmoctrl
Cflags: -I${includedir}/
diff --git a/libosmogb.pc.in b/libosmogb.pc.in
index a163cc42..d1327277 100644
--- a/libosmogb.pc.in
+++ b/libosmogb.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom GPRS Gb Library
Description: Osmocom GPRS Gb Interface (NS/BSSGP) Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmogb -losmovty -losmocore
+Requires: talloc, libosmocore, libosmovty
+Libs: -L${libdir} -losmogb
Cflags: -I${includedir}/ -fno-strict-aliasing
diff --git a/libosmogsm.pc.in b/libosmogsm.pc.in
index 0160be8d..3d2ff29a 100644
--- a/libosmogsm.pc.in
+++ b/libosmogsm.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom GSM Core Library
Description: GSM Core Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmogsm -losmocore
+Requires: talloc, libosmocore
+Libs: -L${libdir} -losmogsm
Cflags: -I${includedir}/
diff --git a/libosmosim.pc.in b/libosmosim.pc.in
index 83777c31..b06ffae4 100644
--- a/libosmosim.pc.in
+++ b/libosmosim.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Osmocom SIM card related utilities Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmosim -losmocore
+Requires: talloc, libosmocore
+Libs: -L${libdir} -losmosim
Cflags: -I${includedir}/
diff --git a/libosmovty.pc.in b/libosmovty.pc.in
index 6204e455..ce255d37 100644
--- a/libosmovty.pc.in
+++ b/libosmovty.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: Osmocom VTY Interface Library
Description: C Utility Library
Version: @VERSION@
-Libs: -L${libdir} @TALLOC_LIBS@ -losmovty -losmocore
+Requires: libosmocore
+Libs: -L${libdir} @TALLOC_LIBS@ -losmovty
Cflags: -I${includedir}/
-