aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-15 09:11:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-15 09:11:34 +0200
commit9c74a58db7cdb86d6d5a4600accd8ba9df3e1bbe (patch)
tree105dc6708a80bfa4cd97e6fb5f947bef78be4d87 /build2/cc/common.cxx
parentf11213933bc79c8115974f5f7971b97413481654 (diff)
Don't try to pass utility's loptions/libs when linking static library
Diffstat (limited to 'build2/cc/common.cxx')
-rw-r--r--build2/cc/common.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/common.cxx b/build2/cc/common.cxx
index 318a7f1..5ccb198 100644
--- a/build2/cc/common.cxx
+++ b/build2/cc/common.cxx
@@ -305,8 +305,8 @@ namespace build2
{
// This is something like -lpthread or shell32.lib so should be
// a valid path. But it can also be an absolute library path
- // (e.g., something that in the future will come from our
- // -static/-shared .pc files.
+ // (e.g., something that may come from our .static/shared.pc
+ // files).
//
if (proc_lib)
proc_lib (nullptr, n.value, 0, sys_simple (n.value));