From 4d0c02de2d46749f3e0673c81e3ac665d0844877 Mon Sep 17 00:00:00 2001 From: Sven Anders Date: Sun, 18 Mar 2012 15:31:08 +0100 Subject: [PATCH] Added stxxlroot option for default target --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SConstruct b/SConstruct index 883fdf5d1..97709d00b 100644 --- a/SConstruct +++ b/SConstruct @@ -100,6 +100,10 @@ elif sys.platform == 'win32': Exit(-1) else: print "Default platform" + if GetOption('stxxlroot') is not None: + env.Append(CPPPATH = GetOption('stxxlroot')+'/include') + env.Append(LIBPATH = GetOption('stxxlroot')+'/lib') + print 'STXXLROOT = ', GetOption('stxxlroot') env.Append(CPPPATH = ['/usr/include', '/usr/include/include', '/usr/include/libxml2/']) if not conf.CheckLibWithHeader('pthread', 'pthread.h', 'CXX'): print "pthread not found. Exiting"