mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
changed to use libssh2 0.16;
fixed link order in case libssh2 is build with zlib.
This commit is contained in:
parent
b214298960
commit
87fc4ad919
@ -25,7 +25,7 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-0.15
|
LIBSSH2_PATH = ../../libssh2-0.16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef INSTDIR
|
ifndef INSTDIR
|
||||||
@ -145,15 +145,6 @@ ifdef WITH_ARES
|
|||||||
INCLUDES += -I$(ARES_LIB)
|
INCLUDES += -I$(ARES_LIB)
|
||||||
LDLIBS += $(ARES_LIB)/libcares.$(LIBEXT)
|
LDLIBS += $(ARES_LIB)/libcares.$(LIBEXT)
|
||||||
endif
|
endif
|
||||||
ifdef WITH_ZLIB
|
|
||||||
INCLUDES += -I$(ZLIB_PATH)
|
|
||||||
ifdef LINK_STATIC
|
|
||||||
LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
|
|
||||||
else
|
|
||||||
MODULES += libz.nlm
|
|
||||||
IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifdef WITH_SSH2
|
ifdef WITH_SSH2
|
||||||
INCLUDES += -I$(LIBSSH2_PATH)/include
|
INCLUDES += -I$(LIBSSH2_PATH)/include
|
||||||
ifdef LINK_STATIC
|
ifdef LINK_STATIC
|
||||||
@ -169,6 +160,15 @@ ifdef WITH_SSL
|
|||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
||||||
IMPORTS += GetProcessSwitchCount RunningProcess
|
IMPORTS += GetProcessSwitchCount RunningProcess
|
||||||
endif
|
endif
|
||||||
|
ifdef WITH_ZLIB
|
||||||
|
INCLUDES += -I$(ZLIB_PATH)
|
||||||
|
ifdef LINK_STATIC
|
||||||
|
LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
|
||||||
|
else
|
||||||
|
MODULES += libz.nlm
|
||||||
|
IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBARCH),LIBC)
|
ifeq ($(LIBARCH),LIBC)
|
||||||
INCLUDES += -I$(SDK_LIBC)/include
|
INCLUDES += -I$(SDK_LIBC)/include
|
||||||
|
@ -25,7 +25,7 @@ endif
|
|||||||
|
|
||||||
# Edit the path below to point to the base of your LibSSH2 package.
|
# Edit the path below to point to the base of your LibSSH2 package.
|
||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-0.15
|
LIBSSH2_PATH = ../../libssh2-0.16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef INSTDIR
|
ifndef INSTDIR
|
||||||
@ -144,15 +144,6 @@ else
|
|||||||
MODULES = libcurl.nlm
|
MODULES = libcurl.nlm
|
||||||
IMPORTS = @$(CURL_LIB)/libcurl.imp
|
IMPORTS = @$(CURL_LIB)/libcurl.imp
|
||||||
endif
|
endif
|
||||||
ifdef WITH_ZLIB
|
|
||||||
INCLUDES += -I$(ZLIB_PATH)
|
|
||||||
ifdef LINK_STATIC
|
|
||||||
LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
|
|
||||||
else
|
|
||||||
MODULES += libz.nlm
|
|
||||||
IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifdef WITH_SSH2
|
ifdef WITH_SSH2
|
||||||
INCLUDES += -I$(LIBSSH2_PATH)/include
|
INCLUDES += -I$(LIBSSH2_PATH)/include
|
||||||
ifdef LINK_STATIC
|
ifdef LINK_STATIC
|
||||||
@ -167,6 +158,15 @@ ifdef WITH_SSL
|
|||||||
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
LDLIBS += $(OPENSSL_PATH)/out_nw_$(LIBARCH_L)/crypto.$(LIBEXT)
|
||||||
IMPORTS += GetProcessSwitchCount RunningProcess
|
IMPORTS += GetProcessSwitchCount RunningProcess
|
||||||
endif
|
endif
|
||||||
|
ifdef WITH_ZLIB
|
||||||
|
INCLUDES += -I$(ZLIB_PATH)
|
||||||
|
ifdef LINK_STATIC
|
||||||
|
LDLIBS += $(ZLIB_PATH)/nw/$(LIBARCH)/libz.$(LIBEXT)
|
||||||
|
else
|
||||||
|
MODULES += libz.nlm
|
||||||
|
IMPORTS += @$(ZLIB_PATH)/nw/$(LIBARCH)/libz.imp
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(LIBARCH),LIBC)
|
ifeq ($(LIBARCH),LIBC)
|
||||||
INCLUDES += -I$(SDK_LIBC)/include
|
INCLUDES += -I$(SDK_LIBC)/include
|
||||||
|
Loading…
Reference in New Issue
Block a user