Fixed JIT build on Linux for real.

This commit is contained in:
David Anderson 2008-12-22 20:12:33 -06:00
parent dc758ead10
commit cb41fa6de4
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ ifeq "$(OS)" "Darwin"
LINK += -dynamiclib LINK += -dynamiclib
BINARY = $(PROJECT).dylib BINARY = $(PROJECT).dylib
else else
LINK += -static-libgcc-shared LINK += -static-libgcc -shared
BINARY = $(PROJECT).so BINARY = $(PROJECT).so
endif endif

View File

@ -52,7 +52,7 @@ SourcePawnEngine g_engine1;
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#if defined PLATFORM_LINUX #if defined __linux__
#include <malloc.h> #include <malloc.h>
#endif #endif