summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/CMakeLists.txt3
-rw-r--r--src/gui/curses/headless/Makefile.am2
-rw-r--r--src/gui/curses/normal/Makefile.am2
3 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt
index 71bb93ab2..27057d53b 100644
--- a/src/gui/curses/CMakeLists.txt
+++ b/src/gui/curses/CMakeLists.txt
@@ -47,6 +47,9 @@ list(APPEND EXTRA_LIBS "m")
list(APPEND EXTRA_LIBS ${CURL_LIBRARIES})
+list(APPEND EXTRA_LIBS ${ZLIB_LIBRARY})
+list(APPEND EXTRA_LIBS ${LIBZSTD_LDFLAGS})
+
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# link with resolv lib on macOS
list(APPEND EXTRA_LIBS "resolv")
diff --git a/src/gui/curses/headless/Makefile.am b/src/gui/curses/headless/Makefile.am
index 5851d8583..18757c94d 100644
--- a/src/gui/curses/headless/Makefile.am
+++ b/src/gui/curses/headless/Makefile.am
@@ -48,6 +48,8 @@ weechat_headless_LDADD = ./../../../core/lib_weechat_core.a \
$(GCRYPT_LFLAGS) \
$(GNUTLS_LFLAGS) \
$(CURL_LFLAGS) \
+ $(ZLIB_LFLAGS) \
+ $(ZSTD_LFLAGS) \
-lm
weechat_headless_SOURCES = main.c
diff --git a/src/gui/curses/normal/Makefile.am b/src/gui/curses/normal/Makefile.am
index 6936a41a4..df2fb2b58 100644
--- a/src/gui/curses/normal/Makefile.am
+++ b/src/gui/curses/normal/Makefile.am
@@ -45,6 +45,8 @@ weechat_LDADD = ./../../../core/lib_weechat_core.a \
$(GCRYPT_LFLAGS) \
$(GNUTLS_LFLAGS) \
$(CURL_LFLAGS) \
+ $(ZLIB_LFLAGS) \
+ $(ZSTD_LFLAGS) \
-lm
weechat_SOURCES = main.c