Browse Source

Fixed Premake parser symbols build to point to the correct files.

pull/913/head
Joao Matos 9 years ago
parent
commit
348505c67d
  1. 8
      src/CppParser/premake5.lua

8
src/CppParser/premake5.lua

@ -55,18 +55,18 @@ project "Std-symbols"
filter {} filter {}
if os.istarget("windows") then if os.istarget("windows") then
files { "i686-pc-win32-msvc/Std-symbols.cpp" } files { "Bindings/CSharp/i686-pc-win32-msvc/Std-symbols.cpp" }
elseif os.istarget("macosx") then elseif os.istarget("macosx") then
local file = io.popen("lipo -info `which mono`") local file = io.popen("lipo -info `which mono`")
local output = file:read('*all') local output = file:read('*all')
if string.find(output, "x86_64") then if string.find(output, "x86_64") then
files { "x86_64-apple-darwin12.4.0/Std-symbols.cpp" } files { "Bindings/CSharp/x86_64-apple-darwin12.4.0/Std-symbols.cpp" }
else else
files { "i686-apple-darwin12.4.0/Std-symbols.cpp" } files { "Bindings/CSharp/i686-apple-darwin12.4.0/Std-symbols.cpp" }
end end
elseif os.istarget("linux") then elseif os.istarget("linux") then
files { "x86_64-linux-gnu/Std-symbols.cpp" } files { "Bindings/CSharp/x86_64-linux-gnu/Std-symbols.cpp" }
else else
print "Unknown architecture" print "Unknown architecture"
end end

Loading…
Cancel
Save