mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
added libidn build.
This commit is contained in:
parent
09e027bc9d
commit
87c4136bd4
@ -5,7 +5,7 @@
|
|||||||
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
||||||
##
|
##
|
||||||
## Usage:
|
## Usage:
|
||||||
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [DYN=1]
|
||||||
##
|
##
|
||||||
## Hint: you can also set environment vars to control the build, f.e.:
|
## Hint: you can also set environment vars to control the build, f.e.:
|
||||||
## set ZLIB_PATH=c:/zlib-1.2.3
|
## set ZLIB_PATH=c:/zlib-1.2.3
|
||||||
@ -27,6 +27,10 @@ endif
|
|||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-0.18
|
LIBSSH2_PATH = ../../libssh2-0.18
|
||||||
endif
|
endif
|
||||||
|
# Edit the path below to point to the base of your libidn package.
|
||||||
|
ifndef LIBIDN_PATH
|
||||||
|
LIBIDN_PATH = ../../libidn-1.9
|
||||||
|
endif
|
||||||
# Edit the path below to point to the base of your Novell LDAP NDK.
|
# Edit the path below to point to the base of your Novell LDAP NDK.
|
||||||
ifndef LDAP_SDK
|
ifndef LDAP_SDK
|
||||||
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
||||||
@ -72,6 +76,11 @@ ifdef ZLIB
|
|||||||
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
|
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
|
||||||
DLL_LIBS += -L$(ZLIB_PATH) -lz
|
DLL_LIBS += -L$(ZLIB_PATH) -lz
|
||||||
endif
|
endif
|
||||||
|
ifdef IDN
|
||||||
|
INCLUDES += -I"$(LIBIDN_PATH)/include"
|
||||||
|
CFLAGS += -DUSE_LIBIDN
|
||||||
|
DLL_LIBS += -L$(LIBIDN_PATH)/lib -lidn
|
||||||
|
endif
|
||||||
ifdef SSPI
|
ifdef SSPI
|
||||||
CFLAGS += -DUSE_WINDOWS_SSPI
|
CFLAGS += -DUSE_WINDOWS_SSPI
|
||||||
endif
|
endif
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
## and optionally OpenSSL (0.9.8), libssh2 (0.18), zlib (1.2.3)
|
||||||
##
|
##
|
||||||
## Usage:
|
## Usage:
|
||||||
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [SSPI=1] [IPV6=1] [DYN=1]
|
## mingw32-make -f Makefile.m32 [SSL=1] [SSH2=1] [ZLIB=1] [IDN=1] [SSPI=1] [IPV6=1] [DYN=1]
|
||||||
##
|
##
|
||||||
## Hint: you can also set environment vars to control the build, f.e.:
|
## Hint: you can also set environment vars to control the build, f.e.:
|
||||||
## set ZLIB_PATH=c:/zlib-1.2.3
|
## set ZLIB_PATH=c:/zlib-1.2.3
|
||||||
@ -27,6 +27,10 @@ endif
|
|||||||
ifndef LIBSSH2_PATH
|
ifndef LIBSSH2_PATH
|
||||||
LIBSSH2_PATH = ../../libssh2-0.18
|
LIBSSH2_PATH = ../../libssh2-0.18
|
||||||
endif
|
endif
|
||||||
|
# Edit the path below to point to the base of your libidn package.
|
||||||
|
ifndef LIBIDN_PATH
|
||||||
|
LIBIDN_PATH = ../../libidn-1.9
|
||||||
|
endif
|
||||||
# Edit the path below to point to the base of your Novell LDAP NDK.
|
# Edit the path below to point to the base of your Novell LDAP NDK.
|
||||||
ifndef LDAP_SDK
|
ifndef LDAP_SDK
|
||||||
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
LDAP_SDK = c:/novell/ndk/cldapsdk/win32
|
||||||
@ -82,6 +86,11 @@ ifdef ZLIB
|
|||||||
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
|
CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
|
||||||
curl_LDADD += -L$(ZLIB_PATH) -lz
|
curl_LDADD += -L$(ZLIB_PATH) -lz
|
||||||
endif
|
endif
|
||||||
|
ifdef IDN
|
||||||
|
INCLUDES += -I"$(LIBIDN_PATH)/include"
|
||||||
|
CFLAGS += -DUSE_LIBIDN
|
||||||
|
curl_LDADD += -L$(LIBIDN_PATH)/lib -lidn
|
||||||
|
endif
|
||||||
ifdef SSPI
|
ifdef SSPI
|
||||||
CFLAGS += -DUSE_WINDOWS_SSPI
|
CFLAGS += -DUSE_WINDOWS_SSPI
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user