2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-22 01:47:45 +01:00

wscript: enable library naming

This commit is contained in:
Alibek Omarov 2019-11-11 04:07:51 +03:00
parent 94d4c6a0e3
commit b4d3b5d8be
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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]
@ -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': {