mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:13:37 +03:00
Makefile.m32: add support for libgsasl dependency
Reviewed-by: Marcel Raad Closes #6586
This commit is contained in:
parent
89193ed518
commit
2dfe3d7093
3 changed files with 34 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ endif
|
|||
ifndef LIBRTMP_PATH
|
||||
LIBRTMP_PATH = ../../librtmp-2.4
|
||||
endif
|
||||
# Edit the path below to point to the base of your libgsasl package.
|
||||
ifndef LIBGSASL_PATH
|
||||
LIBGSASL_PATH = ../../libgsasl-1.10.0
|
||||
endif
|
||||
# Edit the path below to point to the base of your libidn2 package.
|
||||
ifndef LIBIDN2_PATH
|
||||
LIBIDN2_PATH = ../../libidn2-2.0.3
|
||||
|
|
@ -198,6 +202,9 @@ endif
|
|||
ifeq ($(findstring -brotli,$(CFG)),-brotli)
|
||||
BROTLI = 1
|
||||
endif
|
||||
ifeq ($(findstring -gsasl,$(CFG)),-gsasl)
|
||||
GSASL = 1
|
||||
endif
|
||||
ifeq ($(findstring -idn2,$(CFG)),-idn2)
|
||||
IDN2 = 1
|
||||
endif
|
||||
|
|
@ -346,6 +353,11 @@ ifdef BROTLI
|
|||
DLL_LIBS += -lbrotlidec
|
||||
endif
|
||||
endif
|
||||
ifdef GSASL
|
||||
INCLUDES += -I"$(LIBGSASL_PATH)/include"
|
||||
CFLAGS += -DUSE_GSASL
|
||||
DLL_LIBS += -L"$(LIBGSASL_PATH)/lib" -lgsasl
|
||||
endif
|
||||
ifdef IDN2
|
||||
INCLUDES += -I"$(LIBIDN2_PATH)/include"
|
||||
CFLAGS += -DUSE_LIBIDN2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue