Skip to content
This repository was archived by the owner on Dec 29, 2024. It is now read-only.

Commit ae3c36e

Browse files
authored
Fix linux->windows cross compile
1 parent c9e1663 commit ae3c36e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

luasrc/SCsub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Import('env_lua')
55

66
env_lua = env_lua.Clone()
77

8-
if env_lua['PLATFORM'] == 'posix':
8+
if env_lua['PLATFORM'] == 'posix' and env['platform'] == 'linuxbsd':
99
env_lua.Append(CPPDEFINES='LUA_USE_POSIX')
1010

1111
if not env.msvc:

0 commit comments

Comments
 (0)