fix mingw32 cross win build issues
This commit is contained in:
2
Makefile
2
Makefile
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user