From 0622f03f59e3b9178ce3dd37faba173ddc9a7917 Mon Sep 17 00:00:00 2001 From: Dexter Date: Sun, 3 Nov 2013 02:37:20 +0000 Subject: [PATCH] fix linux linkage finally --- mp/src/thirdparty/lua/lua.vpc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mp/src/thirdparty/lua/lua.vpc b/mp/src/thirdparty/lua/lua.vpc index e22cf459..d80e6dae 100644 --- a/mp/src/thirdparty/lua/lua.vpc +++ b/mp/src/thirdparty/lua/lua.vpc @@ -9,9 +9,9 @@ $Configuration $Compiler { $AdditionalIncludeDirectories "$BASE" - $EnableC++Exceptions "Yes (/EHsc)" - $PreprocessorDefinitions "LUA_OPNAMES" - $CompileAs "Compile as C Code (/TC)" + $PreprocessorDefinitions "LUA_OPNAMES" + $CompileAs "Compile as C Code (/TC)" + $GCC_ExtraCompilerFlags "-x c" [$LINUXALL] // force compile as C on linux, it will build with G++ by default } }