From 2e91c40bde5253a30716092af31e4cf07febda44 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 15 Mar 2023 12:48:21 +0200 Subject: meson.build: Add an explicit weston dependency Required when building the compositor locally, without yocto/OE as weston cflags includes the full path to weston. Bug-AGL: SPEC-4725 Signed-off-by: Marius Vlad Change-Id: If3a4e8238cb40c6fbe0db26bd1056fce48243038 --- meson.build | 1 + src/compositor.c | 2 +- src/main.c | 2 +- src/shell.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 463b0fe..388f785 100644 --- a/meson.build +++ b/meson.build @@ -141,6 +141,7 @@ libweston_dep = dependency(libweston_version) deps_libweston = [ dependency('wayland-server'), + dependency('weston'), libweston_dep, dependency('libweston-desktop-10'), ] diff --git a/src/compositor.c b/src/compositor.c index 60d5dd2..5ef3b34 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include "shared/os-compatibility.h" #include "shared/helpers.h" diff --git a/src/main.c b/src/main.c index d1390f0..8056a9d 100644 --- a/src/main.c +++ b/src/main.c @@ -24,7 +24,7 @@ */ #include "config.h" -#include +#include int main(int argc, char *argv[]) { diff --git a/src/shell.c b/src/shell.c index ddb8981..db9638f 100644 --- a/src/shell.c +++ b/src/shell.c @@ -38,7 +38,7 @@ #include #include -#include +#include #include "shared/os-compatibility.h" #include "shared/helpers.h" #include "shared/process-util.h" -- cgit 1.2.3-korg