mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 05:14:15 +00:00
wscript: remove libm linking to static public, it's useless. Correct include path order
This commit is contained in:
parent
4880ca3ca2
commit
f3a2f46fb3
@ -89,7 +89,8 @@ def build(bld):
|
|||||||
if bld.env.DEST_OS == 'linux':
|
if bld.env.DEST_OS == 'linux':
|
||||||
libs.append('RT')
|
libs.append('RT')
|
||||||
|
|
||||||
includes = ['common', 'server', 'client', 'client/vgui', '.', '../common', '../public', '../pm_shared' ]
|
# HACK: public headers must be put before common, so we don't get wrong mathlib included
|
||||||
|
includes = ['common', 'server', 'client', 'client/vgui', '.', '../public', '../common', '../pm_shared' ]
|
||||||
|
|
||||||
if bld.env.SINGLE_BINARY:
|
if bld.env.SINGLE_BINARY:
|
||||||
bld(
|
bld(
|
||||||
|
@ -21,10 +21,8 @@ def build(bld):
|
|||||||
name = get_subproject_name(bld)
|
name = get_subproject_name(bld)
|
||||||
bld.env = bld.all_envs[name]
|
bld.env = bld.all_envs[name]
|
||||||
|
|
||||||
libs = [ 'M' ]
|
|
||||||
|
|
||||||
source = bld.path.ant_glob(['*.c'])
|
source = bld.path.ant_glob(['*.c'])
|
||||||
|
libs = []
|
||||||
includes = [ '.', '../common', '../engine' ]
|
includes = [ '.', '../common', '../engine' ]
|
||||||
|
|
||||||
bld.stlib(
|
bld.stlib(
|
||||||
|
@ -30,7 +30,7 @@ def build(bld):
|
|||||||
name = get_subproject_name(bld)
|
name = get_subproject_name(bld)
|
||||||
bld.env = bld.all_envs[name]
|
bld.env = bld.all_envs[name]
|
||||||
|
|
||||||
libs = [ 'M', 'public' ]
|
libs = [ 'public', 'm' ]
|
||||||
|
|
||||||
source = bld.path.ant_glob(['*.c'])
|
source = bld.path.ant_glob(['*.c'])
|
||||||
|
|
||||||
@ -39,8 +39,8 @@ def build(bld):
|
|||||||
'../engine/common',
|
'../engine/common',
|
||||||
'../engine/server',
|
'../engine/server',
|
||||||
'../engine/client',
|
'../engine/client',
|
||||||
'../common',
|
|
||||||
'../public',
|
'../public',
|
||||||
|
'../common',
|
||||||
'../pm_shared' ]
|
'../pm_shared' ]
|
||||||
|
|
||||||
bld.shlib(
|
bld.shlib(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user