diff options
Diffstat (limited to 'meta/recipes-support/argp-standalone/files/out_of_tree_build.patch')
-rw-r--r-- | meta/recipes-support/argp-standalone/files/out_of_tree_build.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-support/argp-standalone/files/out_of_tree_build.patch b/meta/recipes-support/argp-standalone/files/out_of_tree_build.patch new file mode 100644 index 0000000000..b7777cbd91 --- /dev/null +++ b/meta/recipes-support/argp-standalone/files/out_of_tree_build.patch | |||
@@ -0,0 +1,19 @@ | |||
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> | ||
5 | Upstream-Status: Pending | ||
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 | ||