summaryrefslogtreecommitdiffstats
blob: 2aeb34b47bf598bb36a6a2fbde98409a1cf66cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CXXFLAGS += -isystem 3rdParty/LibIDN/src
CFLAGS += -isystem 3rdParty/LibIDN/src -isystem 3rdParty/LibIDN/stubs
ifeq ($(WIN32),1)
CPPFLAGS += -DIDNA_STATIC
CFLAGS += -isystem 3rdParty/LibIDN/stubs/win32
CFLAGS += -Dstrcasecmp=stricmp -Dstrncasecmp=strnicmp
CXXFLAGS += -isystem 3rdParty/LibIDN/stubs/win32
endif

LIBIDN_SOURCES += \
	3rdParty/LibIDN/src/stringprep.c \
	3rdParty/LibIDN/src/profiles.c \
	3rdParty/LibIDN/src/rfc3454.c \
	3rdParty/LibIDN/src/punycode.c \
	3rdParty/LibIDN/src/idna.c \
	3rdParty/LibIDN/src/toutf8.c \
	3rdParty/LibIDN/src/nfkc.c

LIBIDN_OBJECTS = \
	$(LIBIDN_SOURCES:.c=.o)