aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-17 15:38:34 +0200
committerSimon Warta <[email protected]>2015-07-21 20:08:05 +0200
commitccf161fe856bc5f4e9f1ed2a44906b49e6d70b39 (patch)
tree1473345317a2b1a77be01e84121a1e29e4f6ee0e /configure.py
parent8e9d312b21ee1214db1998a0b0057a7d10477d42 (diff)
Rename so_link_flags to so_link_commands
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.py b/configure.py
index 1ae69d09c..d90f347ab 100755
--- a/configure.py
+++ b/configure.py
@@ -775,7 +775,7 @@ class ArchInfo(object):
class CompilerInfo(object):
def __init__(self, infofile):
lex_me_harder(infofile, self,
- ['so_link_flags', 'binary_link_command', 'mach_opt', 'mach_abi_linking', 'isa_flags'],
+ ['so_link_commands', 'binary_link_commands', 'mach_opt', 'mach_abi_linking', 'isa_flags'],
{ 'binary_name': None,
'linker_name': None,
'macro_name': None,
@@ -801,10 +801,10 @@ class CompilerInfo(object):
'makefile_style': ''
})
- self.so_link_flags = force_to_dict(self.so_link_flags)
- self.binary_link_command = force_to_dict(self.binary_link_command)
- self.mach_abi_linking = force_to_dict(self.mach_abi_linking)
- self.isa_flags = force_to_dict(self.isa_flags)
+ self.so_link_commands = force_to_dict(self.so_link_commands)
+ self.binary_link_commands = force_to_dict(self.binary_link_commands)
+ 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 = {}
@@ -938,10 +938,10 @@ class CompilerInfo(object):
search_for = [osname, 'default']
for s in search_for:
- if s in self.so_link_flags:
- return self.so_link_flags[s]
+ if s in self.so_link_commands:
+ return self.so_link_commands[s]
- raise Exception("No library link command found for target '%s' in compiler settings '%s'. Searched for: %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)))
"""
@@ -954,8 +954,8 @@ class CompilerInfo(object):
search_for = [osname, 'default']
for s in search_for:
- if s in self.binary_link_command:
- return self.binary_link_command[s]
+ 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)))