aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-14 11:05:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-14 11:05:09 +0200
commit9945644d498c973fe5a7d82b88482593a6633ef7 (patch)
tree1d0595d5b7f0ad499884ddc167f18cf7376fd621 /libbuild2/cc
parent3df81f14a044ca615157978272349e0d200c3bd4 (diff)
Add synchronization.lib to the list of Windows system libraries
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/pkgconfig.cxx40
1 files changed, 21 insertions, 19 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 4c2d55b..494c087 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -891,26 +891,28 @@ namespace build2
if (l[0] != '-') // e.g., just shell32.lib
continue;
- else if (cmp ("advapi32") ||
- cmp ("bcrypt") ||
- cmp ("crypt32") ||
- cmp ("d3d", 3) || // d3d*
- cmp ("gdi32") ||
- cmp ("imagehlp") ||
- cmp ("mswsock") ||
- cmp ("msxml", 5) || // msxml*
- cmp ("normaliz") ||
- cmp ("odbc32") ||
- cmp ("ole32") ||
- cmp ("oleaut32") ||
- cmp ("rpcrt4") ||
- cmp ("secur32") ||
- cmp ("shell32") ||
- cmp ("shlwapi") ||
- cmp ("version") ||
- cmp ("ws2") ||
- cmp ("ws2_32") ||
+ else if (cmp ("advapi32") ||
+ cmp ("bcrypt") ||
+ cmp ("crypt32") ||
+ cmp ("d3d", 3) || // d3d*
+ cmp ("gdi32") ||
+ cmp ("imagehlp") ||
+ cmp ("mswsock") ||
+ cmp ("msxml", 5) || // msxml*
+ cmp ("normaliz") ||
+ cmp ("odbc32") ||
+ cmp ("ole32") ||
+ cmp ("oleaut32") ||
+ cmp ("rpcrt4") ||
+ cmp ("secur32") ||
+ cmp ("shell32") ||
+ cmp ("shlwapi") ||
+ cmp ("synchronization") ||
+ cmp ("version") ||
+ cmp ("ws2") ||
+ cmp ("ws2_32") ||
cmp ("wsock32"))
+
{
if (tsys == "win32-msvc")
{