[gssdp] Make Requires private in pkg-config files



commit 39a6946d080cf7da2ed2a7b7b29a4995b4edc4e7
Author: Andreas Henriksson <andreas fatal se>
Date:   Fri Sep 21 14:12:37 2012 +0200

    Make Requires private in pkg-config files
    
    Putting stuff in Requires means applications using
    this library will link against that when it might
    not be needed at all because they use none of that
    libraries symbols directly.
    
    If only the cflags is needed (because public headers
    includes headers from that package) they
    can be private to avoid uselessly linking.
    
    See #2 in http://people.freedesktop.org/~dbn/pkg-config-guide.html#faq
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685477

 gssdp-1.0-uninstalled.pc.in |    2 +-
 gssdp-1.0.pc.in             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gssdp-1.0-uninstalled.pc.in b/gssdp-1.0-uninstalled.pc.in
index dbc9d67..445e251 100644
--- a/gssdp-1.0-uninstalled.pc.in
+++ b/gssdp-1.0-uninstalled.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based SSDP library
 Version: @VERSION@
 Libs: ${libdir}/libgssdp-1.0.la
 Cflags: -I${includedir}
-Requires: gobject-2.0 gio-2.0
+Requires.private: gobject-2.0 gio-2.0
diff --git a/gssdp-1.0.pc.in b/gssdp-1.0.pc.in
index e57a7b6..4c320f6 100644
--- a/gssdp-1.0.pc.in
+++ b/gssdp-1.0.pc.in
@@ -8,4 +8,4 @@ Description: GObject-based SSDP library
 Version: @VERSION@
 Libs: -L${libdir} -lgssdp-1.0
 Cflags: -I${includedir}/gssdp-1.0
-Requires: gobject-2.0 gio-2.0
+Requires.private: gobject-2.0 gio-2.0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]