diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-01 00:05:51 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-01 08:11:11 -0700 |
| commit | b29ce87bb40a964a45f16585ed04c969ed576863 (patch) | |
| tree | c2beb0873990cdf84e4e0af647e6a57a6ec2eb0f /meta-networking | |
| parent | 040ba697122ce4f4c6684abe22d4c18dda9b562f (diff) | |
| download | meta-openembedded-b29ce87bb40a964a45f16585ed04c969ed576863.tar.gz | |
nbdkit: Fix build after S moved into UNPACKDIR
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch b/meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch index 2f7ffd3d20..524ea0602d 100644 --- a/meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch +++ b/meta-networking/recipes-support/nbdkit/nbdkit/0002-plugins-Avoid-absolute-buildpaths-in-binaries.patch | |||
| @@ -14,15 +14,14 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 14 | plugins/cc/Makefile.am | 7 +++++-- | 14 | plugins/cc/Makefile.am | 7 +++++-- |
| 15 | 1 file changed, 5 insertions(+), 2 deletions(-) | 15 | 1 file changed, 5 insertions(+), 2 deletions(-) |
| 16 | 16 | ||
| 17 | diff --git a/plugins/cc/Makefile.am b/plugins/cc/Makefile.am | ||
| 18 | index df8b5d15..80586a17 100644 | ||
| 19 | --- a/plugins/cc/Makefile.am | 17 | --- a/plugins/cc/Makefile.am |
| 20 | +++ b/plugins/cc/Makefile.am | 18 | +++ b/plugins/cc/Makefile.am |
| 21 | @@ -44,9 +44,12 @@ nbdkit_cc_plugin_la_SOURCES = \ | 19 | @@ -44,9 +44,13 @@ nbdkit_cc_plugin_la_SOURCES = \ |
| 22 | $(top_srcdir)/include/nbdkit-plugin.h \ | 20 | $(top_srcdir)/include/nbdkit-plugin.h \ |
| 23 | $(NULL) | 21 | $(NULL) |
| 24 | 22 | ||
| 25 | +workdir := $(shell dirname $(abs_top_builddir)) | 23 | +workdir1 := $(shell dirname $(abs_top_builddir)) |
| 24 | +workdir := $(shell dirname $(workdir1)) | ||
| 26 | +cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g') | 25 | +cc_no_sysroot := $(shell echo \"$(CC)\"|sed -e 's#$(workdir)#<WORKDIR>#g') |
| 27 | +cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g') | 26 | +cflags_no_sysroot := $(shell echo \"$(CFLAGS)\"|sed -e 's#$(workdir)#<WORKDIR>#g') |
| 28 | nbdkit_cc_plugin_la_CPPFLAGS = \ | 27 | nbdkit_cc_plugin_la_CPPFLAGS = \ |
| @@ -33,6 +32,3 @@ index df8b5d15..80586a17 100644 | |||
| 33 | -I$(top_srcdir)/include \ | 32 | -I$(top_srcdir)/include \ |
| 34 | -I$(top_builddir)/include \ | 33 | -I$(top_builddir)/include \ |
| 35 | -I$(top_srcdir)/common/include \ | 34 | -I$(top_srcdir)/common/include \ |
| 36 | -- | ||
| 37 | 2.40.1 | ||
| 38 | |||
