gio: Move gmodule to Requires.private
authorMatthias Clasen <mclasen@redhat.com>
Tue, 22 Nov 2011 16:06:07 +0000 (11:06 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 22 Nov 2011 18:59:34 +0000 (13:59 -0500)
Users of GIO are not generally expected to use gmodule API,
so don't force them all to link against it.

gio-2.0.pc.in
gio-unix-2.0.pc.in

index c4f32c2..b702910 100644 (file)
@@ -9,7 +9,8 @@ glib_compile_schemas=@bindir@/glib-compile-schemas@EXEEXT@
 Name: GIO
 Description: glib I/O library
 Version: @VERSION@
-Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
+Requires: glib-2.0,gobject-2.0
+Requires.private: gmodule-no-export-2.0
 Libs: -L${libdir} -lgio-2.0
 Libs.private: @ZLIB_LIBS@ @NETWORK_LIBS@
-Cflags: 
+Cflags:
index 2e81c07..fba58e2 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: GIO unix specific APIs
 Description: unix specific headers for glib I/O library
 Version: @VERSION@
-Requires: gobject-2.0,gmodule-no-export-2.0,gio-2.0
+Requires: gobject-2.0,gio-2.0
 Libs: -L${libdir} -lgio-2.0
 Cflags: -I${includedir}/gio-unix-2.0/