From 4d43fc686427252367576bb1a37724bb45958358 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Oct 2019 09:41:13 +0200 Subject: Pass MSVC system library search paths to linker if LIB envvar is unset --- libbuild2/cc/module.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libbuild2/cc/module.hxx') diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx index 43670c3..77fe55c 100644 --- a/libbuild2/cc/module.hxx +++ b/libbuild2/cc/module.hxx @@ -52,10 +52,13 @@ namespace build2 translate_std (const compiler_info&, scope&, const string*) const = 0; strings tstd; - size_t sys_lib_dirs_extra; // First extra path (size if none). - size_t sys_inc_dirs_extra; // First extra path (size if none). - const compiler_info* ci_; + const compiler_info* x_info; + + // Temporary storage for data::sys_*_dirs_extra. + // + size_t sys_lib_dirs_extra; + size_t sys_inc_dirs_extra; private: // Defined in gcc.cxx. -- cgit v1.1