Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile.m32: add ability to override zstd libs #5840

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion lib/Makefile.m32
Expand Up @@ -298,7 +298,12 @@ endif
ifdef ZSTD
INCLUDES += -I"$(ZSTD_PATH)/include"
CFLAGS += -DHAVE_ZSTD
DLL_LIBS += -L"$(ZSTD_PATH)/lib" -lzstd
DLL_LIBS += -L"$(ZSTD_PATH)/lib"
ifdef ZSTD_LIBS
DLL_LIBS += $(ZSTD_LIBS)
else
DLL_LIBS += -lzstd
endif
endif
ifdef BROTLI
INCLUDES += -I"$(BROTLI_PATH)/include"
Expand Down
7 changes: 6 additions & 1 deletion src/Makefile.m32
Expand Up @@ -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"
Expand Down