blob: c8631044306dd5fa520394f1bb0ce9248c0c3cdc [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001Fix the testsuite to built out of tree
2in OE S != B
3
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
Patrick Williams2390b1b2022-11-03 13:47:49 -05005Upstream-Status: Submitted [https://github.com/ericonr/argp-standalone/pull/9]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05006Index: argp-standalone-1.3/testsuite/Makefile.am
7===================================================================
8--- argp-standalone-1.3.orig/testsuite/Makefile.am
9+++ argp-standalone-1.3/testsuite/Makefile.am
10@@ -5,7 +5,8 @@ TS_ALL = $(TS_PROGS) $(TS_SH)
11
12 noinst_PROGRAMS = $(TS_PROGS) ex1 ex3 ex4
13
14-LDADD = ../libargp.a
15+AM_CPPFLAGS = -I$(top_srcdir)
16+LDADD = $(top_builddir)/libargp.a
17
18 EXTRA_DIST = $(TS_SH) run-tests
19 CLEANFILES = test.out