3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 04:03:39 +00:00

build fix for non-windows platforms

This commit is contained in:
Christoph M. Wintersteiger 2016-03-07 11:21:06 +00:00
parent 4cd1efc50e
commit eccf03aaac

View file

@ -65,6 +65,7 @@ def parse_options():
'silent', 'silent',
'force', 'force',
'nojava', 'nojava',
'nodotnet',
'githash' 'githash'
]) ])
for opt, arg in options: for opt, arg in options:
@ -95,7 +96,7 @@ def check_build_dir(path):
# Create a build directory using mk_make.py # Create a build directory using mk_make.py
def mk_build_dir(path): def mk_build_dir(path):
if not check_build_dir(path) or FORCE_MK: if not check_build_dir(path) or FORCE_MK:
opts = ["python", os.path.join('scripts', 'mk_make.py'), "-b", path, "--static"] opts = ["python", os.path.join('scripts', 'mk_make.py'), "-b", path, "--staticlib"]
if DOTNET_ENABLED: if DOTNET_ENABLED:
opts.append('--dotnet') opts.append('--dotnet')
if JAVA_ENABLED: if JAVA_ENABLED: