[Buildroot] meson for host package with executables doesn't work.
daniel at 0x0f.com
Thu Oct 11 09:25:39 UTC 2018
There don't seem to be any in-tree packages that use meson for host
packages so maybe this hasn't come up before but as far as I can tell
it doesn't work.
In my case I have an out of tree package that requires json-glib to be
installed for the host as well as the target so I've changed the
makefile to do that as follows:
diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk
index 77c0c4532374..4cd754a3a6c5 100644
@@ -17,4 +17,9 @@ JSON_GLIB_DEPENDENCIES = \
+HOST_JSON_GLIB_DEPENDENCIES = \
+ host-pkgconf \
That was working fine a few months ago but now I get this:
*** ERROR: package host-json-glib installs executables without proper RPATH:
As far as I know meson strips RPATH on install and there is no way to
stop it doing that outside of adjusting the build file.
Does anyone have any ideas about how this should be fixed?
More information about the buildroot