|
@@ -238,6 +238,9 @@ endif
|
|
|
ifeq ($(findstring -ngtcp2,$(CFG)),-ngtcp2)
|
|
|
NGTCP2 = 1
|
|
|
endif
|
|
|
+ifeq ($(findstring -unicode,$(CFG)),-unicode)
|
|
|
+UNICODE = 1
|
|
|
+endif
|
|
|
|
|
|
INCLUDES = -I. -I../include -I../lib
|
|
|
ifdef SSL
|
|
@@ -245,6 +248,10 @@ ifdef SSL
|
|
|
CFLAGS += -DCURL_WITH_MULTI_SSL
|
|
|
endif
|
|
|
endif
|
|
|
+ifdef UNICODE
|
|
|
+ CFLAGS += -DUNICODE -D_UNICODE
|
|
|
+ LDFLAGS += -municode
|
|
|
+endif
|
|
|
|
|
|
ifdef DYN
|
|
|
curl_DEPENDENCIES = $(PROOT)/lib/libcurldll.a $(PROOT)/lib/libcurl.dll
|