Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | Fix the testsuite to built out of tree |
| 2 | in OE S != B |
| 3 | |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Patrick Williams | 2390b1b | 2022-11-03 13:47:49 -0500 | [diff] [blame] | 5 | Upstream-Status: Submitted [https://github.com/ericonr/argp-standalone/pull/9] |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 6 | Index: 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 |