blob: b4faa9f5052a05b64cad3c4193a2edfa624aa853 [file] [log] [blame]
def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
if root.host_os in ['Windows']:
config.unsupported = True
# AIX usually usually makes use of an explicit export list when linking a shared
# object, since the linker doesn't export anything by default.
if root.host_os in ['AIX']:
config.substitutions.append(('%shared_linker_xopts', '-Wl,-bE:shr.exp'))
else:
config.substitutions.append(('%shared_linker_xopts', ''))