diff options
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index bae6691e..da9f67b2 100644 --- a/src/Makefile +++ b/src/Makefile | |||
| @@ -336,7 +336,7 @@ ifeq (Windows,$(TARGET_SYS)) | |||
| 336 | LUAJIT_SO= $(TARGET_DLLNAME) | 336 | LUAJIT_SO= $(TARGET_DLLNAME) |
| 337 | LUAJIT_T= luajit.exe | 337 | LUAJIT_T= luajit.exe |
| 338 | ifneq ($(HOST_SYS),$(TARGET_SYS)) | 338 | ifneq ($(HOST_SYS),$(TARGET_SYS)) |
| 339 | HOST_XCFLAGS+= -malign-double | 339 | HOST_XCFLAGS+= -malign-double -DLUAJIT_OS=LUAJIT_OS_WINDOWS |
| 340 | endif | 340 | endif |
| 341 | # Mixed mode is not supported on Windows. And static mode doesn't work well. | 341 | # Mixed mode is not supported on Windows. And static mode doesn't work well. |
| 342 | # C modules cannot be loaded, because they bind to lua51.dll. | 342 | # C modules cannot be loaded, because they bind to lua51.dll. |
