From 846e5140c36dfcc36677ce0d0356958012fd0a6d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 17 Nov 2004 03:33:05 +0000 Subject: [PATCH] Add gmodule-no-export-2.0.pc.in 2004-11-16 Matthias Clasen * 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 | 3 ++- configure.in | 1 + gmodule-no-export-2.0.pc.in | 13 +++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 gmodule-no-export-2.0.pc.in diff --git a/Makefile.am b/Makefile.am index 1380f76f..2dcedb3f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.in b/configure.in index 8fbe597b..799032b0 100644 --- a/configure.in +++ b/configure.in @@ -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 index 00000000..eff82948 --- /dev/null +++ b/gmodule-no-export-2.0.pc.in @@ -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: -- 2.34.1