aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-16 09:34:55 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:18 +0200
commit39f9b78c5fdcac09661faaeb76b39ef301aebcab (patch)
tree87f618f3a2197d1bf3e025df14b54a3bd6412acc /configure.py
parentf05eff3f8a357057804f338b2a0b2119cb7caefb (diff)
Check for so_link_command existence in compiler settings
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 893f6f589..581d35b2c 100755
--- a/configure.py
+++ b/configure.py
@@ -805,6 +805,7 @@ class CompilerInfo(object):
self.mach_abi_linking = force_to_dict(self.mach_abi_linking)
self.isa_flags = force_to_dict(self.isa_flags)
+ self.infofile = infofile
self.mach_opt_flags = {}
while self.mach_opt != []:
@@ -940,7 +941,8 @@ class CompilerInfo(object):
return self.so_link_flags[osname]
if 'default' in self.so_link_flags:
return self.so_link_flags['default']
- return ''
+ raise Exception("No library link command found for target '%s' in compiler settings '%s'" %
+ (osname, self.infofile))
"""
Return defines for build.h