mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-28 18:29:49 +02:00
fix compilation / ensure this check only runs when compiling on windows
This commit is contained in:
@@ -473,7 +473,10 @@ elif GetOption('release'):
|
||||
|
||||
if GetOption('static'):
|
||||
if platform == "Windows":
|
||||
env.Append(CPPDEFINES=['_PTW32_STATIC_LIB'])
|
||||
if compilePlatform == "Windows":
|
||||
env.Append(CPPDEFINES=['_PTW32_STATIC_LIB'])
|
||||
else:
|
||||
env.Append(CPPDEFINES=['PTW32_STATIC_LIB'])
|
||||
if msvc:
|
||||
env.Append(CPPDEFINES=['ZLIB_WINAPI'])
|
||||
else:
|
||||
|
Reference in New Issue
Block a user