mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
Added metalink support to NetWare builds.
This commit is contained in:
parent
1aaf86a596
commit
6ea32b8b76
@ -47,6 +47,11 @@ ifndef FBOPENSSL_PATH
|
|||||||
FBOPENSSL_PATH = ../../fbopenssl-0.4
|
FBOPENSSL_PATH = ../../fbopenssl-0.4
|
||||||
endif
|
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 c-ares package.
|
# Edit the path below to point to the base of your c-ares package.
|
||||||
ifndef LIBCARES_PATH
|
ifndef LIBCARES_PATH
|
||||||
LIBCARES_PATH = ../ares
|
LIBCARES_PATH = ../ares
|
||||||
@ -214,6 +219,9 @@ endif
|
|||||||
ifeq ($(findstring -spnego,$(CFG)),-spnego)
|
ifeq ($(findstring -spnego,$(CFG)),-spnego)
|
||||||
WITH_SPNEGO = 1
|
WITH_SPNEGO = 1
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(findstring -metalink,$(CFG)),-metalink)
|
||||||
|
WITH_METALINK = 1
|
||||||
|
endif
|
||||||
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
|
ifeq ($(findstring -ipv6,$(CFG)),-ipv6)
|
||||||
ENABLE_IPV6 = 1
|
ENABLE_IPV6 = 1
|
||||||
endif
|
endif
|
||||||
@ -275,6 +283,11 @@ ifdef WITH_IDN
|
|||||||
# INCLUDES += -I$(LIBIDN_PATH)/include
|
# INCLUDES += -I$(LIBIDN_PATH)/include
|
||||||
LDLIBS += $(LIBIDN_PATH)/lib/libidn.$(LIBEXT)
|
LDLIBS += $(LIBIDN_PATH)/lib/libidn.$(LIBEXT)
|
||||||
endif
|
endif
|
||||||
|
ifdef WITH_METALINK
|
||||||
|
CFLAGS += -DUSE_METALINK
|
||||||
|
INCLUDES += -I$(METALINK_PATH)/include
|
||||||
|
LDLIBS += $(METALINK_PATH)/lib/libmetalink.$(LIBEXT)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBARCH),LIBC)
|
ifeq ($(LIBARCH),LIBC)
|
||||||
INCLUDES += -I$(NDK_LIBC)/include
|
INCLUDES += -I$(NDK_LIBC)/include
|
||||||
|
Loading…
Reference in New Issue
Block a user