[eog: 18/21] build: Move math library
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog: 18/21] build: Move math library
- Date: Mon, 15 Jul 2019 19:31:11 +0000 (UTC)
commit 6efb9e43246af57b6a995a36627e1ff85e41697a
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Fri Jun 28 10:42:05 2019 +0200
build: Move math library
All the dependencies are created in the main meson build file except
the math library.
It has been moved to the main meson build file to be consistent.
meson.build | 2 ++
src/meson.build | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 307ffca1..4c5eb660 100644
--- a/meson.build
+++ b/meson.build
@@ -97,6 +97,8 @@ gio_unix_dep = dependency('gio-unix-2.0', version: glib_req_version)
gnome_desktop_dep = dependency('gnome-desktop-3.0', version: '>= 2.91.2')
libpeas_gtk_dep = dependency('libpeas-gtk-1.0', version: peas_req_version)
+m_dep = cc.find_library('m')
+
# runtime dependencies
dependency('gsettings-desktop-schemas', version: '>= 2.91.92')
dependency('shared-mime-info', version: '>= 0.20')
diff --git a/src/meson.build b/src/meson.build
index accf63fb..9abe83ed 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -128,8 +128,8 @@ deps = common_deps + [
gio_unix_dep,
gnome_desktop_dep,
libpeas_gtk_dep,
+ m_dep,
zlib_dep,
- cc.find_library('m'),
]
cflags = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]