Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Update aksetup
  • Loading branch information
inducer committed Nov 28, 2013
1 parent fdea7ca commit d206d91
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions aksetup_helper.py
Expand Up @@ -547,7 +547,7 @@ def set_up_shipped_boost_if_requested(project_name, conf):
source_files += glob(
"bpl-subset/bpl_subset/libs/thread/src/win32/*.cpp")
source_files += glob(
"bpl-subset/bpl_subset/libs/thread/src/*.cpp")
"bpl-subset/bpl_subset/libs/thread/src/tss_null.cpp")
else:
source_files += glob(
"bpl-subset/bpl_subset/libs/thread/src/pthread/*.cpp")
Expand All @@ -559,12 +559,11 @@ def set_up_shipped_boost_if_requested(project_name, conf):
if not isdir(bpl_project_boost_inc):
try:
from os import symlink
except ImportError:
symlink("boost", bpl_project_boost_inc)
except (ImportError, OSError):
from shutil import copytree
print("Copying files, hang on... (do not interrupt)")
copytree(main_boost_inc, bpl_project_boost_inc)
else:
symlink("boost", bpl_project_boost_inc)

return (source_files,
{
Expand Down

0 comments on commit d206d91

Please sign in to comment.