Browse Source

waf: don't install some shared libraries when building sdk only

new-sdk
nillerusr 2 years ago
parent
commit
226d22b896
  1. 4
      stub_steam/wscript
  2. 2
      tier0/wscript
  3. 2
      vstdlib/wscript

4
stub_steam/wscript

@ -29,6 +29,8 @@ def build(bld):
libs = [] libs = []
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
bld.shlib( bld.shlib(
source = source, source = source,
target = PROJECT_NAME, target = PROJECT_NAME,
@ -36,7 +38,7 @@ def build(bld):
features = 'c cxx', features = 'c cxx',
includes = includes, includes = includes,
defines = defines, defines = defines,
install_path = bld.env.LIBDIR, install_path = install_path,
use = libs, use = libs,
subsystem = bld.env.MSVC_SUBSYSTEM, subsystem = bld.env.MSVC_SUBSYSTEM,
idx = bld.get_taskgen_count() idx = bld.get_taskgen_count()

2
tier0/wscript

@ -83,7 +83,7 @@ def build(bld):
else: else:
libs = ['DL', 'M', 'LOG'] libs = ['DL', 'M', 'LOG']
install_path = bld.env.LIBDIR install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
bld.shlib( bld.shlib(
source = source, source = source,

2
vstdlib/wscript

@ -55,7 +55,7 @@ def build(bld):
elif bld.env.DEST_OS == 'darwin': elif bld.env.DEST_OS == 'darwin':
linkflags += ['-framework', 'CoreServices'] linkflags += ['-framework', 'CoreServices']
install_path = bld.env.LIBDIR install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
bld.shlib( bld.shlib(
source = source, source = source,

Loading…
Cancel
Save