mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-23 20:43:51 +00:00
scons: fix logic error breaking compile on windows
This commit is contained in:
parent
5870074ab9
commit
35b9d7d5ed
@ -70,7 +70,7 @@ def CheckBoost(context, boost_lib, require_version = None, header_only = False):
|
||||
header_name = boost_headers.get(boost_lib, boost_lib + ".hpp")
|
||||
libname = "boost_" + boost_lib + env.get("boost_suffix", "")
|
||||
|
||||
if sys.platform != "win32" and not os.path.samefile(boostdir, "/usr/include"):
|
||||
if sys.platform == "win32" or not os.path.samefile(boostdir, "/usr/include"):
|
||||
if env["fast"]:
|
||||
env.AppendUnique(CXXFLAGS = ["-isystem", boostdir], LIBPATH = [boostlibdir])
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user