scons: find bzip2 statically compiled into Boost (windows)

This commit is contained in:
anatoly techtonik 2014-08-07 23:29:07 +03:00
parent 4bb97904e1
commit 0d750e528b

View file

@ -157,7 +157,10 @@ def CheckBoostIostreamsBZip2(context):
}
\n"""
for libbz2 in ["", "bz2"]:
# bzip2 library name when it's statically compiled into Boost
boostname = "boost_bzip2" + env.get("boost_suffix", "")
for libbz2 in ["", "bz2", boostname]:
env.Append(LIBS = [libbz2])
comment = ""
if libbz2: