Fix Windows platform check

This commit is contained in:
LagoLunatic
2025-01-06 15:25:11 -05:00
parent 2809426a7c
commit c7de282a81
+1 -1
View File
@@ -132,7 +132,7 @@ def main():
# -MMD excludes all includes instead of just system includes for some reason, so use -MD instead.
mwcc_cmd = f'{WINE} "{mwcc_path}/mwccarm.exe" {CC_FLAGS} {CC_INCLUDES} $cc_flags -d $game_version -MD -c $in -o $basedir'
mwcc_implicit = []
if os.name != "nt":
if system != "windows":
transform_dep = "tools/transform_dep.py"
mwcc_cmd += f" && $python {transform_dep} $basefile.d $basefile.d"
mwcc_implicit.append(transform_dep)