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:
parent
94d4c6a0e3
commit
b4d3b5d8be
@ -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,
|
||||
|
@ -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,
|
||||
|
4
wscript
4
wscript
@ -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': {
|
||||
|
Loading…
Reference in New Issue
Block a user