Makefile.m32: Updated to build against libmetalink 0.1.2

The include and library path were moved within libmetalink, this
patch adjusts the defaults provided within the curl MinGW makefile.
This commit is contained in:
Marc Hoersken
2012-09-11 01:59:41 +02:00
parent 94c3e0f702
commit c44e6741ce

View File

@@ -30,7 +30,7 @@ LIBRTMP_PATH = ../../librtmp-2.3
endif endif
# Edit the path below to point to the base of your libmetalink package. # Edit the path below to point to the base of your libmetalink package.
ifndef LIBMETALINK_PATH ifndef LIBMETALINK_PATH
LIBMETALINK_PATH = ../../libmetalink-0.0.3 LIBMETALINK_PATH = ../../libmetalink-0.1.2
endif endif
# Edit the path below to point to the base of your libidn package. # Edit the path below to point to the base of your libidn package.
ifndef LIBIDN_PATH ifndef LIBIDN_PATH
@@ -213,9 +213,9 @@ ifdef WINIDN
endif endif
endif endif
ifdef METALINK ifdef METALINK
INCLUDES += -I"$(LIBMETALINK_PATH)/include" INCLUDES += -I"$(LIBMETALINK_PATH)/lib/includes"
CFLAGS += -DUSE_METALINK CFLAGS += -DUSE_METALINK
curl_LDADD += -L"$(LIBMETALINK_PATH)/lib" -lmetalink curl_LDADD += -L"$(LIBMETALINK_PATH)/lib/.libs" -lmetalink.dll
endif endif
ifdef SSPI ifdef SSPI
CFLAGS += -DUSE_WINDOWS_SSPI CFLAGS += -DUSE_WINDOWS_SSPI