Commit 9f597975 authored by John Zhang's avatar John Zhang

fix: libmu shared library extension

parent addd3e86
......@@ -10,7 +10,13 @@ testsuite_dir = test_jit_dir.join('suite')
bin_dir = test_jit_dir.join('temp')
if not bin_dir.exists():
bin_dir.mkdir()
libmu_path = proj_dir.join('target', 'debug', 'libmu.dylib')
if sys.platform.startswith('darwin'):
libext = '.dylib'
elif sys.platform.startswith('linux'):
libext = '.so'
else:
libext = '.dll'
libmu_path = proj_dir.join('target', 'debug', 'libmu' + libext)
def compile_c_script(c_src_name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment