From a95e600eb0fa1fdba0d2627ff15aaf9392b6c253 Mon Sep 17 00:00:00 2001
From: Gisle Vanem <gvanem@broadpark.no>
Date: Tue, 8 Jul 2008 13:55:20 +0000
Subject: [PATCH] Added libidn libs as needed. Added compilation of sendrecv.c
 and cookie_interface.c.

---
 docs/examples/makefile.dj | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docs/examples/makefile.dj b/docs/examples/makefile.dj
index c47f003ee0..853b6b4ed3 100644
--- a/docs/examples/makefile.dj
+++ b/docs/examples/makefile.dj
@@ -16,6 +16,10 @@ ifeq ($(USE_SSL),1)
   LIBS += $(OPENSSL_ROOT)/lib/libssl.a $(OPENSSL_ROOT)/lib/libcrypt.a
 endif
 
+ifeq ($(USE_IDNA),1)
+  LIBS += $(LIBIDN_ROOT)/lib/dj_obj/libidn.a -liconv
+endif
+
 LIBS += $(WATT32_ROOT)/lib/libwatt.a $(ZLIB_ROOT)/libz.a
 
 CSOURCES = fopen.c ftpget.c ftpgetresp.c ftpupload.c getinmemory.c  \
@@ -23,7 +27,7 @@ CSOURCES = fopen.c ftpget.c ftpgetresp.c ftpupload.c getinmemory.c  \
            multi-post.c multi-single.c persistant.c post-callback.c \
            postit2.c sepheaders.c simple.c simplepost.c simplessl.c \
            multi-debugcallback.c fileupload.c getinfo.c anyauthput.c \
-           10-at-a-time.c # ftpuploadresume.c cookie_interface.c
+           10-at-a-time.c sendrecv.c cookie_interface.c # ftpuploadresume.c
 
 PROGRAMS = $(CSOURCES:.c=.exe)
 
-- 
GitLab