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. 3
      src/CppParser/premake5.lua

3
src/CppParser/premake5.lua

@ -22,6 +22,9 @@ project "CppSharp.CppParser" @@ -22,6 +22,9 @@ project "CppSharp.CppParser"
linkoptions { "/ignore:4099" } -- LNK4099: linking object as if no debug info
end
configuration "linux"
defines { "_GLIBCXX_USE_CXX11_ABI=0" }
configuration "*"
files

Loading…
Cancel
Save