Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-01-09 08:11:57 +0300
committerChristopher Faylor <me@cgf.cx>2009-01-09 08:11:57 +0300
commit086dc27fec1b3e5ff4e01404b67e02d745f01d4b (patch)
treeb2c3eb493e716d2046dbdd96c20d15ed364c5b56 /winsup/utils/Makefile.in
parentaa9f3665480a8ef1e62ab79964caf985a2d59cf1 (diff)
* ldd.cc: New file. First stab at implementing ldd-like functionality for
Cygwin. * Makefile.in (CYGWIN_BINS): Add ldd. (ldd.exe): Use -lpsapi.
Diffstat (limited to 'winsup/utils/Makefile.in')
-rw-r--r--winsup/utils/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/utils/Makefile.in b/winsup/utils/Makefile.in
index 9e3f8efdb..016ecffe9 100644
--- a/winsup/utils/Makefile.in
+++ b/winsup/utils/Makefile.in
@@ -52,7 +52,7 @@ MINGW_CXX := ${srcdir}/mingw ${CXX} -I${updir}
# List all binaries to be linked in Cygwin mode. Each binary on this list
# must have a corresponding .o of the same name.
-CYGWIN_BINS := ${addsuffix .exe,cygpath getfacl kill mkgroup \
+CYGWIN_BINS := ${addsuffix .exe,cygpath getfacl ldd kill mkgroup \
mkpasswd mount passwd ps regtool setfacl setmetamode ssp umount}
# List all binaries to be linked in MinGW mode. Each binary on this list
@@ -73,6 +73,8 @@ cygcheck.exe: bloda.o path.o dump_setup.o
cygcheck.exe: MINGW_LDFLAGS += -lntdll
cygpath.exe: ALL_LDFLAGS += -lntdll
+ldd.exe: ALL_LDFLAGS += -lpsapi
+
# Check for dumper's requirements and enable it if found.
LIBICONV := @libiconv@
libbfd := ${shell $(CC) -B$(bupdir2)/bfd/ --print-file-name=libbfd.a}