Fixed minor build problems.
authorJohn Darrington <jmd@pc-188.(none)>
Tue, 23 Sep 2008 01:14:51 +0000 (09:14 +0800)
committerJohn Darrington <jmd@pc-188.(none)>
Tue, 23 Sep 2008 01:14:51 +0000 (09:14 +0800)
Fixed two build problems which crept in when moving to
libtool libraries. One manifested itslef when building
on a system with ncurses in a non-standard place.  The
other when building after configured with --enable-debug

src/ui/terminal/automake.mk

index a93e4b6cb10725ffafd33cacbc1879cf7243d13a..988f24d5d3828f52786929791f90960a25d17dd3 100644 (file)
@@ -13,7 +13,7 @@ src_ui_terminal_libui_la_SOURCES = \
        src/ui/terminal/terminal.c \
        src/ui/terminal/terminal.h      
 
-src_ui_terminal_libui_a_CFLAGS = -DINSTALLDIR=\"$(bindir)\" $(NCURSES_CFLAGS)
+src_ui_terminal_libui_la_CFLAGS = -DINSTALLDIR=\"$(bindir)\" $(NCURSES_CFLAGS)
 
 bin_PROGRAMS += src/ui/terminal/pspp
 
@@ -21,6 +21,7 @@ src_ui_terminal_pspp_SOURCES =
 
 src_ui_terminal_pspp_LDADD = \
        src/ui/terminal/libui.la \
+       src/ui/libuicommon.la \
        src/libpspp.la \
        src/libpspp-core.la \
        $(NCURSES_LIBS) \