Build examples (tests) as static, for easy debugging.

This commit is contained in:
Joachim Nilsson 2010-08-04 02:44:20 +02:00
parent ff404e2088
commit bdf5384c5b
2 changed files with 2 additions and 1 deletions

View File

@ -3,4 +3,4 @@ AUTOMAKE_OPTIONS = foreign
noinst_PROGRAMS = testit cli
LDADD = $(top_builddir)/src/libeditline.la $(TERMLIBS)
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
AM_LDFLAGS = -static

View File

@ -210,6 +210,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign
LDADD = $(top_builddir)/src/libeditline.la $(TERMLIBS)
AM_LDFLAGS = -static
all: all-am
.SUFFIXES: