summaryrefslogtreecommitdiff
path: root/src/Makefile.Watcom
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-04-24 18:58:07 +0200
committerGuenter Knauf <lists@gknw.net>2011-04-24 18:58:07 +0200
commit722f286f801e456c790cec0ea10306220d4969e2 (patch)
tree270b7b97b90ce83d7746c7633fd155ee443b6901 /src/Makefile.Watcom
parentf20b4606deccde560efeac0829fc777a2642ad47 (diff)
downloadcurl-722f286f801e456c790cec0ea10306220d4969e2.tar.gz
Enabled OpenWatcom native Windows IDN build.
For now we directly import the Idn* symbols with the linker; an upcoming release of OWC will have these added to the import lib normaliz.lib, and prototypes are added to winnnls.h.
Diffstat (limited to 'src/Makefile.Watcom')
-rw-r--r--src/Makefile.Watcom8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Makefile.Watcom b/src/Makefile.Watcom
index 1a9629e4b..66c97ef45 100644
--- a/src/Makefile.Watcom
+++ b/src/Makefile.Watcom
@@ -193,6 +193,14 @@ $(LINK_ARG): $(__MAKEFILES__)
!ifdef %use_ares
@%append $^@ library $(ARES_ROOT)$(DS)cares.lib
!endif
+!ifdef %use_winidn
+! if $(__VERSION__) > 1290
+ @%append $^@ library normaliz.lib
+! else
+ @%append $^@ import '_IdnToAscii@20' 'NORMALIZ.DLL'.'IdnToAscii'
+ @%append $^@ import '_IdnToUnicode@20' 'NORMALIZ.DLL'.'IdnToUnicode'
+! endif
+!endif
!else
@%append $^@ library ..$(DS)lib$(DS)$(LIBNAME)_imp.lib
!endif