summaryrefslogtreecommitdiff
path: root/giscanner/dumper.py
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-07-27 23:29:21 +0200
committerRyan Lortie <desrt@desrt.ca>2010-07-27 23:30:47 +0200
commit5888b86c1fc88f4003ea5b0812df7f17cd931969 (patch)
tree9c7b874d8c3ce9bee5ac9294ede00a7b5cca8c3e /giscanner/dumper.py
parent3aad817335a22fed15b5748ce728a97322e2163e (diff)
downloadgobject-introspection-5888b86c1fc88f4003ea5b0812df7f17cd931969.tar.gz
Append -Wl,-rpath=. to the scanner compile
This is required if we're not using libtool
Diffstat (limited to 'giscanner/dumper.py')
-rw-r--r--giscanner/dumper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index b61e3881..b503bf16 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',