mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-25 22:24:16 +00:00
wscript: enable library naming
This commit is contained in:
parent
94d4c6a0e3
commit
b4d3b5d8be
@ -60,7 +60,7 @@ def build(bld):
|
|||||||
|
|
||||||
bld.shlib(
|
bld.shlib(
|
||||||
source = source,
|
source = source,
|
||||||
target = 'client',
|
target = 'client' + bld.env.POSTFIX,
|
||||||
features = 'c cxx',
|
features = 'c cxx',
|
||||||
includes = includes,
|
includes = includes,
|
||||||
defines = defines,
|
defines = defines,
|
||||||
|
@ -68,7 +68,7 @@ def build(bld):
|
|||||||
|
|
||||||
bld.shlib(
|
bld.shlib(
|
||||||
source = source,
|
source = source,
|
||||||
target = bld.env.SERVER_NAME,
|
target = bld.env.SERVER_NAME + bld.env.POSTFIX,
|
||||||
features = 'c cxx',
|
features = 'c cxx',
|
||||||
includes = includes,
|
includes = includes,
|
||||||
defines = defines,
|
defines = defines,
|
||||||
|
4
wscript
4
wscript
@ -87,7 +87,7 @@ def configure(conf):
|
|||||||
conf.env.MSVC_TARGETS = ['x86'] # explicitly request x86 target for MSVC
|
conf.env.MSVC_TARGETS = ['x86'] # explicitly request x86 target for MSVC
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
conf.load('msvc msdev')
|
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:
|
try:
|
||||||
conf.env.CC_VERSION[0]
|
conf.env.CC_VERSION[0]
|
||||||
@ -122,7 +122,7 @@ def configure(conf):
|
|||||||
else:
|
else:
|
||||||
conf.env.BIT32_ALLOW64 = True
|
conf.env.BIT32_ALLOW64 = True
|
||||||
conf.env.BIT32_MANDATORY = not conf.env.BIT32_ALLOW64
|
conf.env.BIT32_MANDATORY = not conf.env.BIT32_ALLOW64
|
||||||
conf.load('force_32bit')
|
conf.load('force_32bit library_naming')
|
||||||
|
|
||||||
linker_flags = {
|
linker_flags = {
|
||||||
'common': {
|
'common': {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user