From 226d22b8961629de0bf9ae4b9cd0e4ed4711a966 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Wed, 24 May 2023 16:46:25 +0000 Subject: [PATCH] waf: don't install some shared libraries when building sdk only --- stub_steam/wscript | 4 +++- tier0/wscript | 2 +- vstdlib/wscript | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/stub_steam/wscript b/stub_steam/wscript index 9da87661..a11b2df7 100755 --- a/stub_steam/wscript +++ b/stub_steam/wscript @@ -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() diff --git a/tier0/wscript b/tier0/wscript index b02c60bf..04a814b3 100755 --- a/tier0/wscript +++ b/tier0/wscript @@ -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, diff --git a/vstdlib/wscript b/vstdlib/wscript index f989fa18..90f1fc07 100755 --- a/vstdlib/wscript +++ b/vstdlib/wscript @@ -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,