diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-03-09 12:34:29 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-03-09 16:55:08 -0700 |
commit | 23b5f9b35135eb0e8bb313f18d1d102b2803bfa0 (patch) | |
tree | 4d341b018c577fc6faecdde0aa81cf94c009a7e6 /mesonbuild/environment.py | |
parent | 6d4df978e26ad79b1a3dad7ed4950f8254000996 (diff) | |
download | meson-23b5f9b35135eb0e8bb313f18d1d102b2803bfa0.zip meson-23b5f9b35135eb0e8bb313f18d1d102b2803bfa0.tar.gz meson-23b5f9b35135eb0e8bb313f18d1d102b2803bfa0.tar.bz2 |
linkers: Allow optlink to be invoked indirectly
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index ece1242..8fa5408 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -793,7 +793,7 @@ class Environment: exelist=compiler, version=search_version(o), direct=invoked_directly) elif 'OPTLINK' in o: # Opltink's stdout *may* beging with a \r character. - return OptlinkDynamicLinker(for_machine, version=search_version(o)) + return OptlinkDynamicLinker(compiler, for_machine, version=search_version(o)) elif o.startswith('Microsoft') or e.startswith('Microsoft'): out = o or e match = re.search(r'.*(X86|X64|ARM|ARM64).*', out) |