Skip to content

Commit

Permalink
Fix folder bin names on scons
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptsengineer committed Jul 21, 2024
1 parent 04d5dfe commit 72f5c2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ steam_lib_path = "steam-multiplayer-peer/sdk/redistributable_bin"
# Check our platform specifics
if env['platform'] in ('macos', 'osx'):
# Set the correct Steam library
steam_lib_path += "/osx"
steam_lib_path += "/macos"
steamworks_library = 'libsteam_api.dylib'

elif env['platform'] in ('linuxbsd', 'linux'):
# Set correct Steam library
steam_lib_path += "/linux64" if env['arch'] == 'x86_64' else "/linux32"
steam_lib_path += "/linux" if env['arch'] == 'x86_64' else "/linux32"
steamworks_library = 'libsteam_api.so'

elif env['platform'] == "windows":
Expand All @@ -24,7 +24,7 @@ elif env['platform'] == "windows":
# env.Append(ENV=os.environ)

# Set correct Steam library
steam_lib_path += "/win64" if env['arch'] == 'x86_64' else ""
steam_lib_path += "/windows" if env['arch'] == 'x86_64' else ""
steamworks_library = 'steam_api64.dll' if env['arch'] == 'x86_64' else 'steam_api.dll'

# make sure our binding library is properly includes
Expand Down

0 comments on commit 72f5c2e

Please sign in to comment.