wscript: fix win32 build

This commit is contained in:
Alibek Omarov
2018-10-08 22:39:33 +03:00
parent 48d1aa5115
commit 8ea5536b42
4 changed files with 18 additions and 4 deletions
+3 -1
View File
@@ -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' ]