Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
wscript: enable library naming
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Nov 11, 2019
1 parent 94d4c6a commit b4d3b5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cl_dll/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def build(bld):

bld.shlib(
source = source,
target = 'client',
target = 'client' + bld.env.POSTFIX,
features = 'c cxx',
includes = includes,
defines = defines,
Expand Down
2 changes: 1 addition & 1 deletion dlls/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def build(bld):

bld.shlib(
source = source,
target = bld.env.SERVER_NAME,
target = bld.env.SERVER_NAME + bld.env.POSTFIX,
features = 'c cxx',
includes = includes,
defines = defines,
Expand Down
4 changes: 2 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def configure(conf):
conf.env.MSVC_TARGETS = ['x86'] # explicitly request x86 target for MSVC
if sys.platform == 'win32':
conf.load('msvc msdev')
conf.load('xcompile compiler_c compiler_cxx strip_on_install library_naming')
conf.load('xcompile compiler_c compiler_cxx strip_on_install')

try:
conf.env.CC_VERSION[0]
Expand Down Expand Up @@ -122,7 +122,7 @@ def configure(conf):
else:
conf.env.BIT32_ALLOW64 = True
conf.env.BIT32_MANDATORY = not conf.env.BIT32_ALLOW64
conf.load('force_32bit')
conf.load('force_32bit library_naming')

linker_flags = {
'common': {
Expand Down

0 comments on commit b4d3b5d

Please sign in to comment.