Fixed scons crash when no boost_suffix is specified.
This commit is contained in:
parent
c307ee8dbd
commit
7e8c345745
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def find_boost(env):
|
|||
prefix, includefile = include[0]
|
||||
env["boostdir"] = join(prefix, "include")
|
||||
env["boostlibdir"] = join(prefix, "lib")
|
||||
if not env["boost_suffix"]:
|
||||
if not env.get("boost_suffix"):
|
||||
if glob(join(prefix, "lib", "libboost_*-mt.*")):
|
||||
env["boost_suffix"] = "-mt"
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue