Add gmodule-no-export-2.0.pc.in
authorMatthias Clasen <mclasen@redhat.com>
Wed, 17 Nov 2004 03:33:05 +0000 (03:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 17 Nov 2004 03:33:05 +0000 (03:33 +0000)
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* Makefile.am (EXTRA_DIST):
* configure.in (AC_CONFIG_FILES): Add gmodule-no-export-2.0.pc.in

* gmodule-no-export-2.0.pc.in: Add a variants of gmodule-2.0.pc.in
which doesn't add -Wl,--export-dynamic, since Pango or GTK+ don't
need it.  (#125627, Owen Taylor)

Makefile.am
configure.in
gmodule-no-export-2.0.pc.in [new file with mode: 0644]

index 1380f76f00e74276df2d6cd808622b24ec5d058b..2dcedb3f5c76b21800ec04c0f3a50694ba432664 100644 (file)
@@ -28,6 +28,7 @@ EXTRA_DIST =                  \
        glib-2.0.pc.in          \
        gobject-2.0.pc.in       \
        gmodule-2.0.pc.in       \
+       gmodule-no-export-2.0.pc.in     \
        gthread-2.0.pc.in       \
        glib-2.0-uninstalled.pc.in      \
        gobject-2.0-uninstalled.pc.in   \
@@ -65,7 +66,7 @@ stamp-gc-h: config.status
        echo timestamp > stamp-gc-h
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gthread-2.0.pc
+pkgconfig_DATA = glib-2.0.pc gobject-2.0.pc gmodule-2.0.pc gmodule-no-export-2.0.pc gthread-2.0.pc
 
 $(pkgconfig_DATA): config.status
 
index 8fbe597b6031cd0a33dee3daa9c6341f0906f158..799032b051938a3515cd9dd31248cf6f593c29bd 100644 (file)
@@ -2653,6 +2653,7 @@ AC_CONFIG_FILES([
 glib-2.0.pc
 glib-2.0-uninstalled.pc
 gmodule-2.0.pc
+gmodule-no-export-2.0.pc
 gmodule-2.0-uninstalled.pc
 gthread-2.0.pc
 gthread-2.0-uninstalled.pc
diff --git a/gmodule-no-export-2.0.pc.in b/gmodule-no-export-2.0.pc.in
new file mode 100644 (file)
index 0000000..eff8294
--- /dev/null
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+gmodule_supported=@G_MODULE_SUPPORTED@
+
+Name: GModule
+Description: Dynamic module loader for GLib
+Requires: glib-2.0
+Version: @VERSION@
+Libs: -L${libdir} -lgmodule-2.0 @G_MODULE_LIBS@
+Cflags: