Skip to content

Commit

Permalink
Merge pull request #328 from ONLYOFFICE/fix/buildOnWindows
Browse files Browse the repository at this point in the history
Fix build on windows
  • Loading branch information
K0R0L authored Jun 4, 2021
2 parents 3d9870e + a00f198 commit d5bf7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/core_common/modules/boost.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ def make():
if ("windows" == base.host_platform()):
win_toolset = "msvc-14.0"
if (-1 != config.option("platform").find("win_64")) and not base.is_dir("../build/win_64"):
base.cmd("bootstrap.bat")
base.cmd("bootstrap.bat", ["vc14"])
base.cmd("b2.exe", ["headers"])
base.cmd("b2.exe", ["--clean"])
base.cmd("b2.exe", ["--prefix=./../build/win_64", "link=static", "--with-filesystem", "--with-system", "--with-date_time", "--with-regex", "--toolset=" + win_toolset, "address-model=64", "install"])
if (-1 != config.option("platform").find("win_32")) and not base.is_dir("../build/win_32"):
base.cmd("bootstrap.bat")
base.cmd("bootstrap.bat", ["vc14"])
base.cmd("b2.exe", ["headers"])
base.cmd("b2.exe", ["--clean"])
base.cmd("b2.exe", ["--prefix=./../build/win_32", "link=static", "--with-filesystem", "--with-system", "--with-date_time", "--with-regex", "--toolset=" + win_toolset, "address-model=32", "install"])
Expand Down

0 comments on commit d5bf7cf

Please sign in to comment.