This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 2/5] Link against libdnsapi to avoid undefined reference
- From: Peter Foley <pefoley2 at pefoley dot com>
- To: cygwin-patches at cygwin dot com
- Cc: Peter Foley <pefoley2 at pefoley dot com>
- Date: Mon, 21 Mar 2016 13:15:43 -0400
- Subject: [PATCH 2/5] Link against libdnsapi to avoid undefined reference
- Authentication-results: sourceware.org; auth=none
- References: <1458580546-14484-1-git-send-email-pefoley2 at pefoley dot com>
/home/peter/cross/src/cygwin/winsup/cygwin/libc/minires-os-if.c:289:
undefined reference to `DnsFree'
winsup/cygwin/ChangeLog
Makefile.in: Add libdnsapi to DLL_IMPORTS
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
---
winsup/cygwin/Makefile.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 6695488..5ada7cb 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -149,7 +149,8 @@ EXTRA_OFILES:=
MALLOC_OFILES:=malloc.o
-DLL_IMPORTS:=${shell $(CC) -print-file-name=w32api/libkernel32.a} ${shell $(CC) -print-file-name=w32api/libntdll.a}
+DLL_IMPORTS:=${shell $(CC) -print-file-name=w32api/libkernel32.a} ${shell $(CC) -print-file-name=w32api/libntdll.a} ${shell $(CC) -print-file-name=w32api/libdnsapi.a}
+
MT_SAFE_OBJECTS:=
#
--
2.7.4