aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-02 15:37:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-12-05 17:21:48 +0300
commitcaf24aa705243f87c83d346d803adf84888a3cc5 (patch)
tree9ffded0029a273370033a1cd0531d37929314182 /build2/cc
parentd04cd568c85262d486f7a0de0a374c80d466c58e (diff)
Eliminate the use of '/...' paths on Windows
Diffstat (limited to 'build2/cc')
-rw-r--r--build2/cc/module.cxx2
1 files changed, 2 insertions, 0 deletions
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