nbdkit: Fix build after S moved into UNPACKDIR
PATCH 1/1 nbdkit: Fix build after S moved into UNPACKDIR
Signed-off-by Khem Raj <[email protected]>
--- ...plugins-Avoid-absolute-buildpaths-in-binaries.patch | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-)
meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch +3 -7
@@ -14,15 +14,14 @@ Signed-off-by: Khem Raj <[email protected]> plugins/cc/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -diff --git a/plugins/cc/Makefile.am b/plugins/cc/Makefile.am -index df8b5d15..80586a17 100644 --- a/plugins/cc/Makefile.am +++ b/plugins/cc/Makefile.am -@@ -44,9 +44,12 @@ nbdkit_cc_plugin_la_SOURCES = \ +@@ -44,9 +44,13 @@ nbdkit_cc_plugin_la_SOURCES = \ $(top_srcdir)/include/nbdkit-plugin.h \ $(NULL) -+workdir := $(shell dirname $(abs_top_builddir)) ++workdir1 := $(shell dirname $(abs_top_builddir)) ++workdir := $(shell dirname $(workdir1)) +cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g') +cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g') nbdkit_cc_plugin_la_CPPFLAGS = \
@@ -33,6 +32,3 @@ index df8b5d15..80586a17 100644 -I$(top_srcdir)/include \ -I$(top_builddir)/include \ -I$(top_srcdir)/common/include \ --- -2.40.1 -