mirror of https://gitlab.com/ita1024/waf.git
Made options optional for cython waftool
This commit is contained in:
parent
80aba755c1
commit
4b6ea4c7e8
|
@ -141,6 +141,6 @@ def configure(ctx):
|
||||||
if not ctx.env.PYTHON:
|
if not ctx.env.PYTHON:
|
||||||
ctx.fatal('Load the python tool first!')
|
ctx.fatal('Load the python tool first!')
|
||||||
ctx.find_program('cython', var='CYTHON')
|
ctx.find_program('cython', var='CYTHON')
|
||||||
if ctx.options.cython_flags:
|
if hasattr(ctx.options, 'cython_flags'):
|
||||||
ctx.env.CYTHONFLAGS = ctx.options.cython_flags
|
ctx.env.CYTHONFLAGS = ctx.options.cython_flags
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue