@ -50,11 +50,11 @@ def configure(conf):
conf.env.append_unique('DEFINES', 'SUPPORT_BSP2_FORMAT')
conf.env.append_unique('DEFINES', 'SUPPORT_BSP2_FORMAT')
if conf.env.DEST_OS == 'win32':
if conf.env.DEST_OS == 'win32':
conf.check( lib='USER 32' )
conf.check( lib='user 32' )
conf.check( lib='SHELL 32' )
conf.check( lib='shell 32' )
conf.check( lib='GDI 32' )
conf.check( lib='gdi 32' )
conf.check( lib='ADVAPI 32' )
conf.check( lib='advapi 32' )
conf.check( lib='DBGHELP ' )
conf.check( lib='dbghelp ' )
conf.env.append_unique('DEFINES', 'DBGHELP')
conf.env.append_unique('DEFINES', 'DBGHELP')
def get_subproject_name(ctx):
def get_subproject_name(ctx):
@ -77,7 +77,7 @@ def build(bld):
libs += [ 'DL', 'M', 'PTHREAD' ]
libs += [ 'DL', 'M', 'PTHREAD' ]
source += bld.path.ant_glob(['platform/posix/*.c'])
source += bld.path.ant_glob(['platform/posix/*.c'])
else:
else:
libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP ']
libs += ['user32', 'shell32', 'gdi32', 'advapi32', 'dbghelp ']
source += bld.path.ant_glob(['platform/win32/*.c'])
source += bld.path.ant_glob(['platform/win32/*.c'])
if bld.env.DEST_OS == 'linux':
if bld.env.DEST_OS == 'linux':
@ -94,7 +94,7 @@ def build(bld):
else:
else:
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', '../pm_shared' ]
includes = ['common', 'server', 'client', 'client/vgui', '.', '../common', '../pm_shared' ]
if(bld.env.SINGLE_BINARY):
if(bld.env.SINGLE_BINARY):