diff options
Diffstat (limited to 'src/Makefile.m32')
-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 ffc359149..91d1b1d95 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -303,9 +303,14 @@ ifdef ZLIB curl_LDADD += -L"$(ZLIB_PATH)" -lz endif ifdef BROTLI - INCLUDES += -I"$(BROTLI_PATH)" + INCLUDES += -I"$(BROTLI_PATH)/include" CFLAGS += -DHAVE_BROTLI curl_LDADD += -L"$(BROTLI_PATH)/lib" -lbrotlidec + ifdef BROTLI_LIBS + curl_LDADD += $(BROTLI_LIBS) + else + curl_LDADD += -lbrotlidec + endif endif ifdef IDN2 CFLAGS += -DUSE_LIBIDN2 |