From caf24aa705243f87c83d346d803adf84888a3cc5 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Dec 2016 15:37:53 +0300 Subject: Eliminate the use of '/...' paths on Windows --- build2/cc/module.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build2/cc') diff --git a/build2/cc/module.cxx b/build2/cc/module.cxx index f619e5f..1c4e84c 100644 --- a/build2/cc/module.cxx +++ b/build2/cc/module.cxx @@ -137,6 +137,7 @@ namespace build2 { lib_dirs = gcc_library_search_paths (ci.path, rs); +#ifndef _WIN32 // Many platforms don't search in /usr/local/lib by default (but do // for headers in /usr/local/include). So add it as the last option. // @@ -150,6 +151,7 @@ namespace build2 // if (tt.system == "freebsd") inc_dirs.push_back (dir_path ("/usr/local/include")); +#endif } // If this is a new value (e.g., we are configuring), then print the -- cgit v1.1