[gjs] Add rpath to gjs-internals-1.0.pc
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Add rpath to gjs-internals-1.0.pc
- Date: Wed, 9 Mar 2011 15:32:52 +0000 (UTC)
commit 4e7f6d8a5e9ef0e41761fbac9d562e2949c16514
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed Mar 9 10:29:07 2011 -0500
Add rpath to gjs-internals-1.0.pc
Since gjs-internal-1.0.pc pulls in the mozilla-js PC file, anything
that uses it needs the same mozjs-not-in-system-directory workaround
that we already use for gjs-console. So, add the needed RPATH to
Libs. We need to use the GNU-specific -Wl,--rpath rather than the
libtool -R because we can't count on libtool always being used
to link the result of pkg-config --libs. Given the small number of
different linkers we'll encounter in practice, we can always add
configure checks to figure out the right flags if someone hits
problems.
gjs-internals-1.0.pc.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gjs-internals-1.0.pc.in b/gjs-internals-1.0.pc.in
index 73dec9b..701dd42 100644
--- a/gjs-internals-1.0.pc.in
+++ b/gjs-internals-1.0.pc.in
@@ -11,6 +11,7 @@ jsnativedir= gjsnativedir@
mozjslibdir= FIREFOX_JS_LIBDIR@
Cflags: -I${includedir}/gjs-1.0 @JS_EXTRA_CFLAGS@
+Libs: -Wl,--rpath=${mozjslibdir}
Requires: gjs-1.0 gobject-introspection-1.0 @JS_PACKAGE@
Name: gjs-internals-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]