From cb41fa6de4aafb33489788cecd3f17c564a2cdea Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 22 Dec 2008 20:12:33 -0600 Subject: [PATCH] Fixed JIT build on Linux for real. --- sourcepawn/jit/Makefile | 2 +- sourcepawn/jit/sp_vm_engine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sourcepawn/jit/Makefile b/sourcepawn/jit/Makefile index a26a48b8..5299aef5 100644 --- a/sourcepawn/jit/Makefile +++ b/sourcepawn/jit/Makefile @@ -71,7 +71,7 @@ ifeq "$(OS)" "Darwin" LINK += -dynamiclib BINARY = $(PROJECT).dylib else - LINK += -static-libgcc-shared + LINK += -static-libgcc -shared BINARY = $(PROJECT).so endif diff --git a/sourcepawn/jit/sp_vm_engine.cpp b/sourcepawn/jit/sp_vm_engine.cpp index 8241c825..80a685e3 100644 --- a/sourcepawn/jit/sp_vm_engine.cpp +++ b/sourcepawn/jit/sp_vm_engine.cpp @@ -52,7 +52,7 @@ SourcePawnEngine g_engine1; #include #endif -#if defined PLATFORM_LINUX +#if defined __linux__ #include #endif