From 5e734ba308b8c83d4feb03b28f392e02c491f8f9 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 17 Oct 2019 16:17:57 +0300 Subject: [PATCH] build: link libm explicitly In the future libweston will stop providing it for its users, since it's not part of libweston API. Signed-off-by: Pekka Paalanen --- desktop-shell/meson.build | 1 + ivi-shell/meson.build | 6 +++++- libweston/renderer-gl/meson.build | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/desktop-shell/meson.build b/desktop-shell/meson.build index 9d56cc40..afe96635 100644 --- a/desktop-shell/meson.build +++ b/desktop-shell/meson.build @@ -11,6 +11,7 @@ if get_option('shell-desktop') input_method_unstable_v1_protocol_c, ] deps_shell_desktop = [ + dep_libm, dep_libshared, dep_lib_desktop, dep_libweston_public, diff --git a/ivi-shell/meson.build b/ivi-shell/meson.build index 6fabe2f3..074fc176 100644 --- a/ivi-shell/meson.build +++ b/ivi-shell/meson.build @@ -12,7 +12,11 @@ if get_option('shell-ivi') 'ivi-shell', srcs_shell_ivi, include_directories: common_inc, - dependencies: [ dep_lib_desktop, dep_libweston_public ], + dependencies: [ + dep_libm, + dep_lib_desktop, + dep_libweston_public + ], name_prefix: '', install: true, install_dir: dir_module_weston diff --git a/libweston/renderer-gl/meson.build b/libweston/renderer-gl/meson.build index bd09aa56..374e65ba 100644 --- a/libweston/renderer-gl/meson.build +++ b/libweston/renderer-gl/meson.build @@ -12,6 +12,7 @@ srcs_renderer_gl = [ ] deps_renderer_gl = [ + dep_libm, dep_pixman, dep_libweston_private, dep_libdrm_headers,