diff options
author | comex | 2015-08-17 01:52:11 -0400 |
---|---|---|
committer | comex | 2015-08-17 01:55:06 -0400 |
commit | c99b238cec2e3ec89774dd1dcc4c352d026d8100 (patch) | |
tree | ebc651eb8eed234141389709f726d1210bbd27ea /configure | |
parent | stuff (diff) | |
download | substitute-c99b238cec2e3ec89774dd1dcc4c352d026d8100.tar.gz |
mconfig quick fixes
Diffstat (limited to '')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -47,6 +47,8 @@ for name, cflags in asm_archs: def wrong_ios(): if settings.enable_ios_bootstrap and not settings.host_machine().is_ios(): raise mconfig.DependencyNotFoundException("iOS bootstrap requires iOS, but the target doesn't seem to be iOS - if you're compiling without Xcode, please specify --target=armv7-apple-darwin10 or something like that") +mconfig.post_parse_args_will_need.append(wrong_ios) + mconfig.parse_args() #################################### @@ -191,7 +193,7 @@ if settings.enable_tests: ibase = obase = tup.pop(0) cflags = ldflags = [] options = {} - if tup and isinstance(tup[0], basestring): ibase = tup.pop(0) + if tup and isinstance(tup[0], str): ibase = tup.pop(0) if tup and isinstance(tup[0], (list, tuple)): cflags = tup.pop(0) if tup and isinstance(tup[0], (list, tuple)): ldflags = tup.pop(0) if tup: options, = tup |