ifndef LIBXML2_PATH
LIBXML2_PATH = ../../../libxml2-2.9.2
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
ifeq ($(findstring -brotli,$(CFG)),-brotli)
BROTLI = 1
endif
+ifeq ($(findstring -gsasl,$(CFG)),-gsasl)
+GSASL = 1
+endif
ifeq ($(findstring -idn2,$(CFG)),-idn2)
IDN2 = 1
endif
curl_LDADD += -lbrotlidec
endif
endif
+ifdef GSASL
+ CFLAGS += -DUSE_GSASL
+ curl_LDADD += -L"$(LIBGSASL_PATH)/lib" -lgsasl
+endif
ifdef IDN2
CFLAGS += -DUSE_LIBIDN2
curl_LDADD += -L"$(LIBIDN2_PATH)/lib" -lidn2
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
ifeq ($(findstring -brotli,$(CFG)),-brotli)
BROTLI = 1
endif
+ifeq ($(findstring -gsasl,$(CFG)),-gsasl)
+GSASL = 1
+endif
ifeq ($(findstring -idn2,$(CFG)),-idn2)
IDN2 = 1
endif
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
ifndef LIBXML2_PATH
LIBXML2_PATH = ../../libxml2-2.9.2
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
ifeq ($(findstring -brotli,$(CFG)),-brotli)
BROTLI = 1
endif
+ifeq ($(findstring -gsasl,$(CFG)),-gsasl)
+GSASL = 1
+endif
ifeq ($(findstring -idn2,$(CFG)),-idn2)
IDN2 = 1
endif
curl_LDADD += -lbrotlidec
endif
endif
+ifdef GSASL
+ CFLAGS += -DUSE_GSASL
+ curl_LDADD += -L"$(LIBGSASL_PATH)/lib" -lgsasl
+endif
ifdef IDN2
CFLAGS += -DUSE_LIBIDN2
curl_LDADD += -L"$(LIBIDN2_PATH)/lib" -lidn2