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 <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 5 years ago
parent 71ff95a544
commit 5e734ba308
  1. 1
      desktop-shell/meson.build
  2. 6
      ivi-shell/meson.build
  3. 1
      libweston/renderer-gl/meson.build

@ -11,6 +11,7 @@ if get_option('shell-desktop')
input_method_unstable_v1_protocol_c, input_method_unstable_v1_protocol_c,
] ]
deps_shell_desktop = [ deps_shell_desktop = [
dep_libm,
dep_libshared, dep_libshared,
dep_lib_desktop, dep_lib_desktop,
dep_libweston_public, dep_libweston_public,

@ -12,7 +12,11 @@ if get_option('shell-ivi')
'ivi-shell', 'ivi-shell',
srcs_shell_ivi, srcs_shell_ivi,
include_directories: common_inc, include_directories: common_inc,
dependencies: [ dep_lib_desktop, dep_libweston_public ], dependencies: [
dep_libm,
dep_lib_desktop,
dep_libweston_public
],
name_prefix: '', name_prefix: '',
install: true, install: true,
install_dir: dir_module_weston install_dir: dir_module_weston

@ -12,6 +12,7 @@ srcs_renderer_gl = [
] ]
deps_renderer_gl = [ deps_renderer_gl = [
dep_libm,
dep_pixman, dep_pixman,
dep_libweston_private, dep_libweston_private,
dep_libdrm_headers, dep_libdrm_headers,

Loading…
Cancel
Save