[gobject-introspection] Append -Wl,-rpath=. to the scanner compile
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Append -Wl,-rpath=. to the scanner compile
- Date: Tue, 27 Jul 2010 21:31:14 +0000 (UTC)
commit 5888b86c1fc88f4003ea5b0812df7f17cd931969
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Jul 27 23:29:21 2010 +0200
Append -Wl,-rpath=. to the scanner compile
This is required if we're not using libtool
giscanner/dumper.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index b61e388..b503bf1 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -200,6 +200,10 @@ class DumpCompiler(object):
# Search the current directory first
args.append('-L.')
+ # https://bugzilla.gnome.org/show_bug.cgi?id=625195
+ if not libtool:
+ args.append('-Wl,-rpath=.')
+
uninst_builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
if not uninst_builddir:
proc = subprocess.Popen([self._pkgconfig_cmd, '--libs',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]