Commit 3a140df2 authored by Philip Chimento's avatar Philip Chimento 🚮 Committed by Philip Chimento
Browse files

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 5d4cd252.
parent b388a54e
...@@ -157,7 +157,7 @@ class CCompiler(object): ...@@ -157,7 +157,7 @@ class CCompiler(object):
args.append('-rpath') args.append('-rpath')
args.append(library_path) args.append(library_path)
else: else:
args.append('-Wl,-rpath=' + library_path) args.append('-Wl,-rpath,' + library_path)
runtime_paths.append(library_path) runtime_paths.append(library_path)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment