mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
nbdkit: Fix build after S moved into UNPACKDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
040ba69712
commit
b29ce87bb4
|
@ -14,15 +14,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
plugins/cc/Makefile.am | 7 +++++--
|
plugins/cc/Makefile.am | 7 +++++--
|
||||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
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
|
--- a/plugins/cc/Makefile.am
|
||||||
+++ b/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 \
|
$(top_srcdir)/include/nbdkit-plugin.h \
|
||||||
$(NULL)
|
$(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')
|
+cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
|
||||||
+cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
|
+cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g')
|
||||||
nbdkit_cc_plugin_la_CPPFLAGS = \
|
nbdkit_cc_plugin_la_CPPFLAGS = \
|
||||||
|
@ -33,6 +32,3 @@ index df8b5d15..80586a17 100644
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
-I$(top_builddir)/include \
|
-I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/common/include \
|
-I$(top_srcdir)/common/include \
|
||||||
--
|
|
||||||
2.40.1
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user