From 1c50cc58d04c979e2bb656d8bdbc5389ddba23f5 Mon Sep 17 00:00:00 2001 From: triton Date: Fri, 12 Dec 2014 15:53:13 +0000 Subject: [PATCH] Fixed build on Linux(Ubuntu). Contributed by @shahid-pk. Closes pull request #360. --- build/Tests.lua | 1 + src/CppParser/AST.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Tests.lua b/build/Tests.lua index dd1e908c..7f976f3d 100644 --- a/build/Tests.lua +++ b/build/Tests.lua @@ -49,6 +49,7 @@ function SetupTestGeneratorProject(name) links { + "System.Core", "CppSharp.AST", "CppSharp.Generator", "CppSharp.Generator.Tests" diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index fa2b6372..390126ce 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -591,7 +591,7 @@ DEF_STRING(TranslationUnit, FileName) DEF_VECTOR(TranslationUnit, MacroDefinition*, Macros) NativeLibrary::NativeLibrary() - : ArchType(ArchType::UnknownArch) + : ArchType(AST::ArchType::UnknownArch) { }