mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
Fix Windows build with WAF
This commit is contained in:
@@ -19,11 +19,15 @@ def build(bld):
|
||||
'inputsystem.cpp',
|
||||
'joystick_sdl.cpp',
|
||||
'touch_sdl.cpp',
|
||||
#'novint.cpp', # [$WIN32]
|
||||
'key_translation.cpp',
|
||||
'steamcontroller.cpp'
|
||||
]
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
source += [
|
||||
'novint.cpp'
|
||||
]
|
||||
|
||||
includes = [
|
||||
'.',
|
||||
'../common',
|
||||
@@ -35,6 +39,9 @@ def build(bld):
|
||||
|
||||
libs = ['tier0','tier1','tier2','vstdlib','SDL2','steam_api']
|
||||
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
libs += ['USER32']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
|
||||
Reference in New Issue
Block a user