mirror of
https://github.com/celisej567/source-engine.git
synced 2025-12-31 21:48:22 +03:00
Fix Windows build with WAF
This commit is contained in:
@@ -12,8 +12,8 @@ def options(opt):
|
||||
return
|
||||
|
||||
def configure(conf):
|
||||
conf.env.append_unique('CFLAGS',['-std=gnu11'])
|
||||
|
||||
if conf.env.DEST_OS != 'win32':
|
||||
conf.env.append_unique('CFLAGS',['-std=gnu11'])
|
||||
|
||||
def build(bld):
|
||||
source = [
|
||||
@@ -39,8 +39,6 @@ def build(bld):
|
||||
|
||||
libs = []
|
||||
|
||||
install_path = bld.env.PREFIX
|
||||
|
||||
bld.stlib(
|
||||
source = source,
|
||||
target = PROJECT_NAME,
|
||||
@@ -49,7 +47,6 @@ def build(bld):
|
||||
includes = includes,
|
||||
defines = defines,
|
||||
use = libs,
|
||||
install_path = install_path,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM,
|
||||
idx = bld.get_taskgen_count()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user