Browse Source

Force the pre-C++11 ABI when compiling the parser library on Linux platforms.

Hopefully fixes a long-standing compatibility issue caused by the C++11 ABI switch on GCC5.

Fixes https://github.com/mono/CppSharp/issues/655.
pull/719/head
Joao Matos 9 years ago
parent
commit
f3663c636b
  1. 5
      src/CppParser/premake5.lua

5
src/CppParser/premake5.lua

@ -20,7 +20,10 @@ project "CppSharp.CppParser" @@ -20,7 +20,10 @@ project "CppSharp.CppParser"
if os.getenv("APPVEYOR") then
linkoptions { "/ignore:4099" } -- LNK4099: linking object as if no debug info
end
end
configuration "linux"
defines { "_GLIBCXX_USE_CXX11_ABI=0" }
configuration "*"

Loading…
Cancel
Save