summaryrefslogtreecommitdiff
path: root/giscanner/ccompiler.py
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2017-05-16 21:48:51 -0700
committerPhilip Chimento <philip@endlessm.com>2017-05-17 11:56:41 -0700
commit3a140df2d29410d91f9bc86e9dd8bfbf82b3fad3 (patch)
tree85dacb0c4a44b7331ed46030fe10dbeea136d0a9 /giscanner/ccompiler.py
parentb388a54e386dec0d1346f70b5d6904cddaf201f3 (diff)
downloadgobject-introspection-3a140df2d29410d91f9bc86e9dd8bfbf82b3fad3.tar.gz
scanner: Fix non-libtool linker flags on Darwin
Darwin's linker doesn't like "-rpath=path"; instead pass "-rpath path", which works on more linkers than the version with the = sign does. Regressed in commit 5d4cd25292b8ed2c7a821ebe19fc5ab5d447db1a. https://bugzilla.gnome.org/show_bug.cgi?id=781525
Diffstat (limited to 'giscanner/ccompiler.py')
-rw-r--r--giscanner/ccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py
index 9951cc7a..29de0ee5 100644
--- a/giscanner/ccompiler.py
+++ b/giscanner/ccompiler.py
@@ -157,7 +157,7 @@ class CCompiler(object):
args.append('-rpath')
args.append(library_path)
else:
- args.append('-Wl,-rpath=' + library_path)
+ args.append('-Wl,-rpath,' + library_path)
runtime_paths.append(library_path)