summaryrefslogtreecommitdiff
path: root/hs20/client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hs20/client/Makefile')
-rw-r--r--hs20/client/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/hs20/client/Makefile b/hs20/client/Makefile
index ca67b54da2eed..94cd5f14df144 100644
--- a/hs20/client/Makefile
+++ b/hs20/client/Makefile
@@ -67,7 +67,13 @@ OBJS += ../../src/crypto/sha256-internal.o
CFLAGS += $(shell xml2-config --cflags)
LIBS += $(shell xml2-config --libs)
+
+# Allow static/custom linking of libcurl.
+ifdef CUST_CURL_LINKAGE
+LIBS += ${CUST_CURL_LINKAGE}
+else
LIBS += -lcurl
+endif
CFLAGS += -DEAP_TLS_OPENSSL
LIBS += -lssl -lcrypto