mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
waf: don't install some shared libraries when building sdk only
This commit is contained in:
parent
8b1be47f4d
commit
226d22b896
@ -29,6 +29,8 @@ def build(bld):
|
||||
|
||||
libs = []
|
||||
|
||||
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
source = source,
|
||||
target = PROJECT_NAME,
|
||||
@ -36,7 +38,7 @@ def build(bld):
|
||||
features = 'c cxx',
|
||||
includes = includes,
|
||||
defines = defines,
|
||||
install_path = bld.env.LIBDIR,
|
||||
install_path = install_path,
|
||||
use = libs,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM,
|
||||
idx = bld.get_taskgen_count()
|
||||
|
@ -83,7 +83,7 @@ def build(bld):
|
||||
else:
|
||||
libs = ['DL', 'M', 'LOG']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
source = source,
|
||||
|
@ -55,7 +55,7 @@ def build(bld):
|
||||
elif bld.env.DEST_OS == 'darwin':
|
||||
linkflags += ['-framework', 'CoreServices']
|
||||
|
||||
install_path = bld.env.LIBDIR
|
||||
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
|
||||
|
||||
bld.shlib(
|
||||
source = source,
|
||||
|
Loading…
Reference in New Issue
Block a user