aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorcomex2015-08-17 01:52:11 -0400
committercomex2015-08-17 01:55:06 -0400
commitc99b238cec2e3ec89774dd1dcc4c352d026d8100 (patch)
treeebc651eb8eed234141389709f726d1210bbd27ea /configure
parentstuff (diff)
downloadsubstitute-c99b238cec2e3ec89774dd1dcc4c352d026d8100.tar.gz
mconfig quick fixes
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index ff6ec33..5522ac4 100755
--- a/configure
+++ b/configure
@@ -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