aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/module.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-07 09:41:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-07 09:41:13 +0200
commit4d43fc686427252367576bb1a37724bb45958358 (patch)
treeccc5bef784457788a1ff5c5f93c39f5b9090b107 /libbuild2/cc/module.hxx
parenta90eecb47438303ae3f6409276f8d9bb77c9f6fc (diff)
Pass MSVC system library search paths to linker if LIB envvar is unset
Diffstat (limited to 'libbuild2/cc/module.hxx')
-rw-r--r--libbuild2/cc/module.hxx9
1 files changed, 6 insertions, 3 deletions
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.