summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/curses/Makefile.am b/src/gui/curses/Makefile.am
index 3466970b8..9d51c05f0 100644
--- a/src/gui/curses/Makefile.am
+++ b/src/gui/curses/Makefile.am
@@ -19,13 +19,24 @@ INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
bin_PROGRAMS = weechat-curses
+if PLUGINS
weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
../gui-action.o \
../../common/lib_weechat_main.a \
../../irc/lib_weechat_irc.a \
+ ../../plugins/lib_weechat_plugins.a \
$(PLUGINS_LIBS) \
$(NCURSES_LIBS) \
$(GNUTLS_LFLAGS)
+else
+weechat_curses_LDADD = ../gui-common.o ../gui-keyboard.o \
+ ../gui-action.o \
+ ../../common/lib_weechat_main.a \
+ ../../irc/lib_weechat_irc.a \
+ $(PLUGINS_LIBS) \
+ $(NCURSES_LIBS) \
+ $(GNUTLS_LFLAGS)
+endif
weechat_curses_SOURCES = gui-display.c \
gui-input.c