aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/Makefile.in
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-05-11 14:01:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-05-11 14:01:17 +0000
commit46777e0a3d3dce21aac5609fa0406a7c85ae0403 (patch)
treedeab6420a89f80a0bbf96650381846dae963ed70 /winsup/utils/Makefile.in
parent5aaaadc0e548e8c2adc305639fc62bb32e153662 (diff)
downloadnewlib-46777e0a3d3dce21aac5609fa0406a7c85ae0403.zip
newlib-46777e0a3d3dce21aac5609fa0406a7c85ae0403.tar.gz
newlib-46777e0a3d3dce21aac5609fa0406a7c85ae0403.tar.bz2
* Makefile.in: Link ps.exe agains ntdll.dll.
* ps.cc (main): Enable SE_DEBUG_NAME privilege if Windows processes have to be enumerated. Workaround EnumProcessModules problem when running under WOW64 and use NtQueryInformationProcess to fetch process image name.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r--winsup/utils/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index f52b618..1039427 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -72,6 +72,7 @@ cygcheck.exe: bloda.o path.o dump_setup.o
# Provide any necessary per-target variable overrides.
cygcheck.exe: MINGW_LDFLAGS += -lntdll
cygpath.exe: ALL_LDFLAGS += -lntdll
+ps.exe: ALL_LDFLAGS += -lntdll
ldd.exe: ALL_LDFLAGS += -lpsapi