Added stxxlroot option for default target
This commit is contained in:
parent
e43019a1df
commit
4d0c02de2d
@ -100,6 +100,10 @@ elif sys.platform == 'win32':
|
|||||||
Exit(-1)
|
Exit(-1)
|
||||||
else:
|
else:
|
||||||
print "Default platform"
|
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/'])
|
env.Append(CPPPATH = ['/usr/include', '/usr/include/include', '/usr/include/libxml2/'])
|
||||||
if not conf.CheckLibWithHeader('pthread', 'pthread.h', 'CXX'):
|
if not conf.CheckLibWithHeader('pthread', 'pthread.h', 'CXX'):
|
||||||
print "pthread not found. Exiting"
|
print "pthread not found. Exiting"
|
||||||
|
Loading…
Reference in New Issue
Block a user