summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-07 06:46:28 (GMT)
committerGitHub <noreply@github.com>2019-02-07 06:46:28 (GMT)
commitdb4fdf015061e5c8a39cbb3c8ff4c33bea9ebdf8 (patch)
treebeb6ed7c7a588c5d7f9ee3a76bac6326c0925c92
parent5aed6ab6e216add471954fdd84a85d9c4e780d05 (diff)
parentf2ac970b9b0ed2ad15e10d07a20e82e161bd11b3 (diff)
Merge pull request #1133 from carlo-bramini/fix-libintl-error
Correctly reference to libintl when linking.
-rw-r--r--kconfig/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfig/Makefile.am b/kconfig/Makefile.am
index 1cdde6c..0523ea9 100644
--- a/kconfig/Makefile.am
+++ b/kconfig/Makefile.am
@@ -18,15 +18,16 @@ AM_CPPFLAGS = -include config.h -DCONFIG_=\"CT_\"
AM_LIBTOOLFLAGS = --tag CC
conf_SOURCES = conf.c zconf.c
+conf_LDADD = $(LIBINTL)
nconf_SOURCES = nconf.c nconf.gui.c zconf.c
nconf_CFLAGS = $(CURSES_CFLAGS)
-nconf_LDADD = $(MENU_LIBS) $(PANEL_LIBS) $(CURSES_LIBS)
+nconf_LDADD = $(MENU_LIBS) $(PANEL_LIBS) $(CURSES_LIBS) $(LIBINTL)
mconf_SOURCES = mconf.c zconf.c lxdialog/checklist.c lxdialog/inputbox.c \
lxdialog/menubox.c lxdialog/textbox.c lxdialog/util.c \
lxdialog/yesno.c
-mconf_LDADD = $(CURSES_LIBS)
+mconf_LDADD = $(CURSES_LIBS) $(LIBINTL)
# automake's support for yacc/lex/gperf is too idiosyncratic. It doesn't
# support a common pattern of including lex-generated file into yacc, nor does