meson.build: Add an explicit weston dependency 73/28573/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 15 Mar 2023 10:48:21 +0000 (12:48 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 15 Mar 2023 11:47:56 +0000 (13:47 +0200)
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 <marius.vlad@collabora.com>
Change-Id: If3a4e8238cb40c6fbe0db26bd1056fce48243038

meson.build
src/compositor.c
src/main.c
src/shell.c

index 463b0fe..388f785 100644 (file)
@@ -141,6 +141,7 @@ libweston_dep = dependency(libweston_version)
 
 deps_libweston = [
   dependency('wayland-server'),
+  dependency('weston'),
   libweston_dep,
   dependency('libweston-desktop-10'),
 ]
index 60d5dd2..5ef3b34 100644 (file)
@@ -49,7 +49,7 @@
 #include <libweston/windowed-output-api.h>
 #include <libweston/config-parser.h>
 #include <libweston/weston-log.h>
-#include <weston/weston.h>
+#include <weston.h>
 
 #include "shared/os-compatibility.h"
 #include "shared/helpers.h"
index d1390f0..8056a9d 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 #include "config.h"
-#include <weston/weston.h>
+#include <weston.h>
 
 int main(int argc, char *argv[])
 {
index ddb8981..db9638f 100644 (file)
@@ -38,7 +38,7 @@
 #include <libweston/libweston.h>
 #include <libweston/config-parser.h>
 
-#include <weston/weston.h>
+#include <weston.h>
 #include "shared/os-compatibility.h"
 #include "shared/helpers.h"
 #include "shared/process-util.h"