summaryrefslogtreecommitdiff
path: root/nice
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-06-30 17:27:10 +0100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-07-07 15:47:02 -0400
commit46fd481b5a1cb7746e9d5c5d16695a6fb7f1de76 (patch)
tree75b7d6c4e7ce49bd38b6567de9492c5ec3146272 /nice
parent44c0b98cb162511e01c129f5d07e8a36ee8b653a (diff)
downloadlibnice-46fd481b5a1cb7746e9d5c5d16695a6fb7f1de76.tar.gz
nice: Auto-substitute pkg-config requirements in nice.pc.in
The requirements in the pkg-config file were outdated and incomplete. It makes a lot more sense to automatically substitute them in from the checks in configure.ac.
Diffstat (limited to 'nice')
-rw-r--r--nice/nice.pc.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/nice/nice.pc.in b/nice/nice.pc.in
index f0000fa..edc01f5 100644
--- a/nice/nice.pc.in
+++ b/nice/nice.pc.in
@@ -5,9 +5,8 @@ includedir=@includedir@
Name: libnice
Description: ICE library
-Requires: glib-2.0 >= 2.10.0
Version: @VERSION@
-Libs: -L${libdir} -lnice @GLIB_LIBS@
-Libs.private: @GUPNP_LIBS@
-Cflags: @GLIB_CFLAGS@ -I${includedir} -I${includedir}/nice
-
+Requires: @NICE_PACKAGES_PUBLIC@ @GUPNP_PACKAGES_PUBLIC@
+Requires.private: @NICE_PACKAGES_PRIVATE@ @GUPNP_PACKAGES_PRIVATE@
+Libs: -L${libdir} -lnice
+Cflags: -I${includedir}/nice