fix mingw32 cross win build issues

This commit is contained in:
2024-10-31 10:26:34 -05:00
parent 9e719eff6d
commit 483059ac97
2 changed files with 3 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ web: FORCE
meson compile -C build_web
crosswin: FORCE
meson setup -Dbuildtype=minsize -Db_lto=true -Db_lto_threads=4 -Db_ndebug=true -Db_pgo=use --cross-file mingw32.cross build_win
meson setup -Dbuildtype=debugoptimized --cross-file mingw32.cross build_win
meson compile -C build_win
FORCE:

View File

@@ -32,10 +32,8 @@ if host_machine.system() == 'linux'
endif
if host_machine.system() == 'windows'
depstrs = ['d3d11']
foreach str : depstrs
deps += dependency(str)
endforeach
# deps += dependency('d3d11')
deps += cc.find_library('d3d11')
endif
deps += dependency('quickjs', static:true)