]> granicus.if.org Git - procps-ng/commitdiff
watch needs a conditonal LDADD
authorCraig Small <csmall@enc.com.au>
Mon, 9 Jan 2012 10:40:53 +0000 (21:40 +1100)
committerCraig Small <csmall@enc.com.au>
Mon, 9 Jan 2012 10:40:53 +0000 (21:40 +1100)
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.

Makefile.am

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