From 42e775ebed04446693e5224389a82b203de2dd84 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 30 May 2013 10:09:49 -0700 Subject: [PATCH] Fix missing dependencies. --- SConstruct | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/SConstruct b/SConstruct index f867ecd20c..2826933754 100644 --- a/SConstruct +++ b/SConstruct @@ -105,9 +105,11 @@ BOOSTFLAGS = ['-DBOOST_TEST_DYN_LINK', '-DBOOST_FILESYSTEM_NO_DEPRECATED'] env.Append(LINKFLAGS = ['-rdynamic', '-pthread']) env.Append(CCFLAGS = ['-pthread', '-Wall', '-Wno-sign-compare', '-Wno-char-subscripts', '-DSQLITE_THREADSAFE=1']) env.Append(CXXFLAGS = ['-O0', '-pthread', '-Wno-invalid-offsetof', '-Wformat']+BOOSTFLAGS+DEBUGFLAGS) -env.Append(CXXFLAGS = [ '-Isrc/cpp/leveldb', '-Isrc/cpp/leveldb/port', '-Isrc/cpp/leveldb/include', '-DUSE_LEVELDB']) -env.Append(CXXFLAGS = [ '-Ibuild/proto']) -env.Append(CXXFLAGS = [ '-I.', '-Isrc/cpp/ripple']) +env.Append(CXXFLAGS = ['-DUSE_LEVELDB']) + +env.Append(CPPPATH = [ 'src/cpp/leveldb', 'src/cpp/leveldb/port', 'src/cpp/leveldb/include']) +env.Append(CPPPATH = [ 'build/proto']) +env.Append(CPPPATH = [ '.', 'src/cpp/ripple']) if (int(GCC_VERSION[0]) > 4 or (int(GCC_VERSION[0]) == 4 and int(GCC_VERSION[1]) >= 7)): env.Append(CXXFLAGS = ['-std=c++11']) @@ -140,7 +142,7 @@ for dir in [ 'ripple_db', 'ripple_json', 'ripple_ledger', - 'ripple_main', + 'ripple_main', 'ripple_mess', 'ripple_net' ]: