Skip to content

Commit 226d22b

Browse files
committed
waf: don't install some shared libraries when building sdk only
1 parent 8b1be47 commit 226d22b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

stub_steam/wscript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,16 @@ def build(bld):
2929

3030
libs = []
3131

32+
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
33+
3234
bld.shlib(
3335
source = source,
3436
target = PROJECT_NAME,
3537
name = PROJECT_NAME,
3638
features = 'c cxx',
3739
includes = includes,
3840
defines = defines,
39-
install_path = bld.env.LIBDIR,
41+
install_path = install_path,
4042
use = libs,
4143
subsystem = bld.env.MSVC_SUBSYSTEM,
4244
idx = bld.get_taskgen_count()

tier0/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def build(bld):
8383
else:
8484
libs = ['DL', 'M', 'LOG']
8585

86-
install_path = bld.env.LIBDIR
86+
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
8787

8888
bld.shlib(
8989
source = source,

vstdlib/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def build(bld):
5555
elif bld.env.DEST_OS == 'darwin':
5656
linkflags += ['-framework', 'CoreServices']
5757

58-
install_path = bld.env.LIBDIR
58+
install_path = None if bld.env.BUILD_SDK else bld.env.LIBDIR
5959

6060
bld.shlib(
6161
source = source,

0 commit comments

Comments
 (0)