Skip to content
Snippets Groups Projects
Commit 186b101d authored by Guenter Knauf's avatar Guenter Knauf
Browse files

Added metalink support to MinGW builds.

parent d2fc8b4a
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,10 @@ endif
ifndef LIBRTMP_PATH
LIBRTMP_PATH = ../../librtmp-2.3
endif
# Edit the path below to point to the base of your libmetalink package.
ifndef LIBMETALINK_PATH
LIBMETALINK_PATH = ../../libmetalink-0.0.3
endif
# Edit the path below to point to the base of your libidn package.
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../libidn-1.18
......@@ -116,6 +120,9 @@ endif
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
IPV6 = 1
endif
ifeq ($(findstring -metalink,$(CFG)),-metalink)
METALINK = 1
endif
INCLUDES = -I. -I.. -I../include -I../lib
......@@ -176,6 +183,11 @@ ifdef WINIDN
curl_LDADD += -L"$(WINIDN_PATH)" -lnormaliz
endif
endif
ifdef METALINK
INCLUDES += -I"$(LIBMETALINK_PATH)/include"
CFLAGS += -DUSE_METALINK
curl_LDADD += -L"$(LIBMETALINK_PATH)/lib" -lmetalink
endif
ifdef SSPI
CFLAGS += -DUSE_WINDOWS_SSPI
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment