diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-01-28 13:08:45 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-01-28 13:45:57 +0200 |
commit | 9cc8100eef72bf1235c3b87430e4c2f6d396f128 (patch) | |
tree | dfdfc260f12be83b214644baf3c1e717b355c4cf /shared/string-helpers.h | |
parent | 26c37c4140ce5739d646c104f1e378b2c5d8ec27 (diff) |
meson.build: Don't set the dependency type for wayland-scannermarlin_12.92.0marlin/12.92.012.92.0
meson (0.53) seem to be smart enough to resolve cross-compile
dependencies without setting explicitly the dependency type.
Setting the dependency as native results in ignoring PKG_CONFIG_PATH
and using PATH to choose and alternative pkg-config. Sourcing the
yocto/OE toolchain would result in picking the hosts pkg-config due to
modified a PATH where SDKTARGETSYSROOT is before any of the hosts paths.
Combined that with the fact that PKG_CONFIG_PATH is reset when the
dependency is se to native (why that hapens is something to further
investigate) results in not finding wayland-scanner.
Tested with both yocto/OE toolchains and native (local) builds to make
sure we can still build it and seems we're fine.
Bug-AGL: SPEC-4169
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5c4b12eff044aeb0c3ab4c18e943da4e15d6c411
Diffstat (limited to 'shared/string-helpers.h')
0 files changed, 0 insertions, 0 deletions