summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-07-06 11:22:48 -0400
committerColin Walters <walters@verbum.org>2009-07-06 11:22:48 -0400
commit5f13c878a5bfd3c5c8595de054c61571f59e3b8d (patch)
tree37d3b83a9b482ccfbe849eebbdadc6161cf23358
parent62b1395a3650f4445dc28ec8f4ff82f0e7cbddd1 (diff)
downloadgobject-introspection-5f13c878a5bfd3c5c8595de054c61571f59e3b8d.tar.gz
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.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
-rw-r--r--gobject-introspection-no-export-1.0.pc.in19
3 files changed, 22 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 23ae7885..90c8538c 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 dc31e0a7..d8ab9683 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 00000000..90da4753
--- /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@