[build] Set filealign for MSVC builds

Useful if you want to run a MSVC build on Wine.
This commit is contained in:
Tatsuyuki Ishi 2024-01-19 10:04:55 +09:00 committed by Philip Rebohle
parent 6faf3c1acd
commit 6199776869
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ if platform == 'windows'
'-Wl,--kill-at',
]
endif
else
link_args += [
'/FILEALIGN:4096',
]
endif
lib_d3d9 = cpp.find_library('d3d9')