aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-10-19 11:58:48 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-10-19 11:58:48 +0000
commitae78ffd40a90c0933b3825d304d58093e27840da (patch)
tree876d1cb22300c6a1f3daceb7fa641b323e6bd0e8
parent3595a9c789947fe9f3ba804ccbb1af72186e404c (diff)
downloadnewlib-ae78ffd40a90c0933b3825d304d58093e27840da.zip
newlib-ae78ffd40a90c0933b3825d304d58093e27840da.tar.gz
newlib-ae78ffd40a90c0933b3825d304d58093e27840da.tar.bz2
* Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
allow cygcheck running on pre-Vista despite of the new w32api not matching the locally used w32api.
-rw-r--r--winsup/utils/ChangeLog6
-rw-r--r--winsup/utils/Makefile.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index fb65050..c2d8b6d 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,9 @@
+2012-10-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
+ allow cygcheck running on pre-Vista despite of the new w32api not
+ matching the locally used w32api.
+
2012-10-09 Corinna Vinschen <corinna@vinschen.de>
* cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switch
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index f3030a1..12f1189 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -74,7 +74,7 @@ path-mount.o: path.cc
mount.exe: path-mount.o
# Provide any necessary per-target variable overrides.
-cygcheck.exe: MINGW_LDFLAGS += -lpsapi -lntdll
+cygcheck.exe: MINGW_LDFLAGS += -B{w32api_lib} -lpsapi -lntdll -lmsvcrt
cygpath.exe: ALL_LDFLAGS += -lcygwin -luserenv -lntdll
cygpath.exe: CXXFLAGS += -fno-threadsafe-statics
ps.exe: ALL_LDFLAGS += -lcygwin -lpsapi -lntdll