--- BuildSupport.py.orig 2016-12-17 16:53:58.000000000 -0700
+++ BuildSupport.py 2016-12-17 16:53:31.000000000 -0700
- "darwin" : { arch32 : ["/usr/local/include",
- arch64 : ["/usr/local/include",
- "/opt/local/include"]},
+ "darwin" : { arch32 : ["@PREFIX@/include"],
+ arch64 : ["@PREFIX@/include"]},
"linux2" : { arch32 : ["/usr/local/include"],
arch64 : ["/usr/local64/include"]}
- "darwin" : { arch32 : ["/usr/local/lib",
- arch64 : ["/usr/local/lib",
+ "darwin" : { arch32 : ["@PREFIX@/lib"],
+ arch64 : ["@PREFIX@/lib"]},
"linux2" : { arch32 : ["/usr/local/lib"],
arch64 : ["/usr/local64/lib"]}
env.Append(LIBS = [Site.boostThreadLib])
env.Append(LIBS = ["boost_thread-mt"])
+ env.Append(LIBS = ["boost_system-mt"])
env.Append(CCFLAGS = ["-g"])
env.Append(CCFLAGS = ["-Wno-unused-local-typedef"])
env.SetOption('num_jobs', numCPUs())
- if architectureStr() == arch64:
- env.Append(CCFLAGS = ["-m64"])
- env.Append(LINKFLAGS = ["-m64"])
- env.Append(CCFLAGS = ["-m32"])
- env.Append(LINKFLAGS = ["-m32"])
if ARGUMENTS.get("verbose", 0) != "1":
env["ARCOMSTR"] = "AR $TARGET"