watch needs a conditonal LDADD

Makes Debian patch makefile_watch_ncurses redundant.
watch was being linked to NCURSES_LIBS when it should of been
WATCH_NCURSES_LIBS which can be ncursesw with 8bit enabled.
This commit is contained in:
Craig Small 2012-01-09 21:40:53 +11:00
parent cac93d35d0
commit 1928653399

View File

@ -62,7 +62,7 @@ dist_man_MANS += \
slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c slabtop_SOURCES = slabtop.c $(top_srcdir)/lib/strutils.c
slabtop_LDADD = @NCURSES_LIBS@ slabtop_LDADD = @NCURSES_LIBS@
watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c watch_SOURCES = watch.c $(top_srcdir)/lib/strutils.c
watch_LDADD = @NCURSES_LIBS@ watch_LDADD = @WATCH_NCURSES_LIBS@
endif endif
kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c kill_SOURCES = skill.c $(top_srcdir)/lib/strutils.c