diff options
author | Jack Lloyd <[email protected]> | 2016-06-17 14:31:36 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-06-17 14:32:06 -0400 |
commit | cbd7a477adb55198504cd6db788f59f054a25044 (patch) | |
tree | 97106dfae617695f6c5cd99fc02c2a0bd672ecf4 /configure.py | |
parent | 8fae184476de35d21b1eabc1ecba08062ba722bd (diff) |
Fix configure with compilers that don't set an explicit binary linker
command. This broke Sun Studio among others. Reported by Jeffrey Walton.
[ci skip]
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.py b/configure.py index aeff794a8..324d84079 100755 --- a/configure.py +++ b/configure.py @@ -958,8 +958,8 @@ class CompilerInfo(object): if s in self.so_link_commands: return self.so_link_commands[s] - raise Exception("No shared library link command found for target '%s' in compiler settings '%s'. Searched for: %s" % - (osname, self.infofile, ", ".join(search_for))) + raise Exception("No shared library link command found for target '%s' in compiler settings '%s'" % + (osname, self.infofile)) """ Return the command needed to link an app/test object @@ -969,8 +969,7 @@ class CompilerInfo(object): if s in self.binary_link_commands: return self.binary_link_commands[s] - raise Exception("No binary link command found for target '%s' in compiler settings '%s'. Searched for: %s" % - (osname, self.infofile, ", ".join(search_for))) + return '$(LINKER)' """ Return defines for build.h |