Skip to content

Commit

Permalink
fix boost auto-link breaking some win scons builds
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios authored and CelticMinstrel committed Nov 1, 2024
1 parent 787b613 commit 3296226
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ if platform == "darwin":
bundle_libraries_for(target, [File(check_path)], env)
break
elif platform == "win32":
# Boost has a very obnoxious auto-link feature that breaks some local windows builds
env.Append(CPPDEFINES=['BOOST_ALL_NO_LIB'])

if 'msvc' in env['TOOLS']:
vcpkg_prefix = path.join((os.environ['HOME'] if 'HOME' in os.environ else 'C:\\'), 'vcpkg')
vcpkg_installed = path.join(vcpkg_prefix, 'installed', f'x{arch_short}-windows')
Expand Down

0 comments on commit 3296226

Please sign in to comment.