mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 06:02:10 +08:00
wscript: fix win32 build
This commit is contained in:
@@ -34,7 +34,7 @@ def configure(conf):
|
||||
conf.fatal('vgui is not supported on this CPU: ' + conf.env.DEST_CPU)
|
||||
|
||||
if conf.env.DEST_OS == 'win32':
|
||||
conf.env.LIB_VGUI = ['vgui.lib']
|
||||
conf.env.LIB_VGUI = ['vgui']
|
||||
conf.env.LIBPATH_VGUI = [os.path.abspath(os.path.join(conf.options.VGUI_DEV, 'lib/win32_vc6/'))]
|
||||
else:
|
||||
if conf.env.DEST_OS == 'linux':
|
||||
@@ -59,6 +59,8 @@ def build(bld):
|
||||
if bld.env.DEDICATED or bld.env.NO_VGUI:
|
||||
return
|
||||
|
||||
libs = []
|
||||
|
||||
# basic build: dedicated only, no dependencies
|
||||
if bld.env.DEST_OS != 'win32':
|
||||
libs = [ 'DL', 'M' ]
|
||||
|
||||
Reference in New Issue
Block a user