summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2021-02-10 18:46:57 +0000
committerViktor Szakats <commit@vsz.me>2021-02-10 18:48:29 +0000
commit2dfe3d70936fb8bed5139b77863f6e1e508940c8 (patch)
treed6fcd72d7f142a5c3028b68dce1afba8d66124df /src
parent89193ed5181b03286eee18c974f8ee38ddc6733c (diff)
downloadcurl-2dfe3d70936fb8bed5139b77863f6e1e508940c8.tar.gz
Makefile.m32: add support for libgsasl dependency
Reviewed-by: Marcel Raad Closes #6586
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m3211
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 03c2b676c..df4a8d5e9 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -71,6 +71,10 @@ endif
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
@@ -207,6 +211,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
@@ -359,6 +366,10 @@ ifdef BROTLI
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