From 46777e0a3d3dce21aac5609fa0406a7c85ae0403 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 11 May 2009 14:01:17 +0000 Subject: * 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. --- winsup/utils/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/utils/Makefile.in') diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in index f52b6186d..103942778 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 -- cgit v1.2.3