From c7de282a81d226f6a7cae43073854c1577a06028 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Mon, 6 Jan 2025 15:25:11 -0500 Subject: [PATCH] Fix Windows platform check --- tools/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure.py b/tools/configure.py index c1c45cf3..b263f047 100644 --- a/tools/configure.py +++ b/tools/configure.py @@ -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)