[PATCH 2/5] Link against libdnsapi to avoid undefined reference
Peter Foley
pefoley2@pefoley.com
Mon Mar 21 17:16:00 GMT 2016
/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
More information about the Cygwin-patches
mailing list