mirror of
https://github.com/zeldaret/ph
synced 2026-07-11 14:38:44 -04:00
Fix Windows platform check
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user