diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.m32 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32 index afb4fd547..74e7b93d7 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -312,7 +312,12 @@ endif ifdef ZSTD INCLUDES += -I"$(ZSTD_PATH)/include" CFLAGS += -DHAVE_ZSTD - curl_LDADD += -L"$(ZSTD_PATH)/lib" -lzstd + curl_LDADD += -L"$(ZSTD_PATH)/lib" + ifdef ZSTD_LIBS + curl_LDADD += $(ZSTD_LIBS) + else + curl_LDADD += -lzstd + endif endif ifdef BROTLI INCLUDES += -I"$(BROTLI_PATH)/include" |