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