[gobject-introspection] Bug 583686 - Add gobject-introspection-no-export-1.0.pc
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Subject: [gobject-introspection] Bug 583686 - Add gobject-introspection-no-export-1.0.pc
- Date: Mon, 6 Jul 2009 15:23:37 +0000 (UTC)
commit 5f13c878a5bfd3c5c8595de054c61571f59e3b8d
Author: Colin Walters <walters verbum org>
Date: Mon Jul 6 11:22:48 2009 -0400
Bug 583686 - Add gobject-introspection-no-export-1.0.pc
Some projects may want to avoid the giant -Wl,--export-dynamic
hammmer and instead use a custom regexp or export list, so
provide a .pc file for them to use.
Makefile.am | 2 +-
configure.ac | 3 ++-
gobject-introspection-no-export-1.0.pc.in | 19 +++++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 23ae788..90c8538 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,7 @@ man_MANS = \
docs/g-ir-scanner.1
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gobject-introspection-1.0.pc
+pkgconfig_DATA = gobject-introspection-1.0.pc gobject-introspection-no-export-1.0.pc
m4dir = $(datadir)/aclocal
m4_DATA = m4/introspection.m4
diff --git a/configure.ac b/configure.ac
index dc31e0a..d8ab968 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,5 +219,6 @@ tests/repository/Makefile
examples/Makefile
docs/Makefile
docs/reference/Makefile
-gobject-introspection-1.0.pc])
+gobject-introspection-1.0.pc
+gobject-introspection-no-export-1.0.pc])
AC_OUTPUT
diff --git a/gobject-introspection-no-export-1.0.pc.in b/gobject-introspection-no-export-1.0.pc.in
new file mode 100644
index 0000000..90da475
--- /dev/null
+++ b/gobject-introspection-no-export-1.0.pc.in
@@ -0,0 +1,19 @@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
+bindir= bindir@
+includedir= includedir@
+
+g_ir_scanner=${bindir}/g-ir-scanner
+g_ir_compiler=${bindir}/g-ir-compiler
+g_ir_generate=${bindir}/g-ir-generate
+girdir=${prefix}/share/gir-1.0
+typelibdir=${libdir}/girepository-1.0
+
+Cflags: -I${includedir}/gobject-introspection-1.0
+Requires: glib-2.0 gobject-2.0 gmodule-no-export-2.0 gthread-2.0
+Libs: -L${libdir} -lgirepository-1.0
+
+Name: gobject-introspection
+Description: GObject Introspection
+Version: @VERSION@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]