Code

Makefile.am: Add @CURSES_LIB@ to link the test program
authorAvuton Olrich <avuton@gmail.com>
Sat, 12 Nov 2011 14:29:33 +0000 (06:29 -0800)
committerAvuton Olrich <avuton@gmail.com>
Sat, 12 Nov 2011 14:30:35 +0000 (06:30 -0800)
Makefile.am

index d0b55fcc852a53839be441950302eb1979302de1..dce18a5473faf701c119a1fb61292c84e83eb9b3 100644 (file)
@@ -172,7 +172,7 @@ check_PROGRAMS = \
 
 test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c
 test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS)
-test_run_hscroll_LDADD = $(GLIB_LIBS)
+test_run_hscroll_LDADD = @CURSES_LIB@ $(GLIB_LIBS)
 
 #
 # sparse