diff --git a/Makefile.am b/Makefile.am index 1380f76f0..2dcedb3f5 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 8fbe597b6..799032b05 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 000000000..eff829487 --- /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: