diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-19 21:21:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 22:41:02 +0000 |
commit | d79a742f43a01f1737fcc5a972654ca84ea61baf (patch) | |
tree | 6a2186d25e431c1baf040104a709f8f187e3f41a /meta/recipes-support/argp-standalone/files | |
parent | 8b033e6faa0a6927f1e1ee2484381eff8231a549 (diff) | |
download | openembedded-core-contrib-d79a742f43a01f1737fcc5a972654ca84ea61baf.tar.gz |
argp-standalone: Fix build when S != B
accesses headers from source tree.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/argp-standalone/files')
-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 @@ +Fix the testsuite to built out of tree +in OE S != B + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending +Index: argp-standalone-1.3/testsuite/Makefile.am +=================================================================== +--- argp-standalone-1.3.orig/testsuite/Makefile.am ++++ argp-standalone-1.3/testsuite/Makefile.am +@@ -5,7 +5,8 @@ TS_ALL = $(TS_PROGS) $(TS_SH) + + noinst_PROGRAMS = $(TS_PROGS) ex1 ex3 ex4 + +-LDADD = ../libargp.a ++AM_CPPFLAGS = -I$(top_srcdir) ++LDADD = $(top_builddir)/libargp.a + + EXTRA_DIST = $(TS_SH) run-tests + CLEANFILES = test.out |