fix luajit for windows

seems that happens for msys2 too
This commit is contained in:
odrling 2020-11-23 21:56:50 +01:00
parent 805b01720d
commit 3753e9c491
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ endif
dynasm_dasc = files('../vm_@0@.dasc'.format(dynasm_arch))
dasm = [minilua, files('../../dynasm/dynasm.lua')]
if cc.get_id() == 'msvc'
if host_machine.system() == 'windows'
# the cl.exe preprocessor seemingly removes/expands macros, so hardcode flags
dasm += ['-D', 'WIN', '-D', 'JIT', '-D', 'FFI']
if host_machine.cpu_family() == 'x86_64'