From 2f3c9750582e444757ac16b1cdb5ecc2a04c157e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 23 Mar 2017 20:55:59 +0000 Subject: [PATCH] meson: remove duplicate libm variable Only need one of libm and mlib --- gdk/meson.build | 2 +- gtk/meson.build | 2 +- meson.build | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gdk/meson.build b/gdk/meson.build index fa5b66fb5c..3d968c4233 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -145,7 +145,7 @@ wlinc = include_directories('.') gdk_deps = [ - mlib, + libm, pixbuf_dep, cairo_dep, pango_dep, diff --git a/gtk/meson.build b/gtk/meson.build index 5c33f77d96..a843e81ed7 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -795,7 +795,7 @@ gtk_deps = [ pixbuf_dep, atk_dep, epoxy_dep, - mlib, + libm, graphene_dep ] diff --git a/meson.build b/meson.build index 335cffb687..0c28c7c875 100644 --- a/meson.build +++ b/meson.build @@ -310,8 +310,6 @@ if win32_enabled '-lcfgmgr32'] endif -mlib = cc.find_library('m', required: false) - # Check for bind_textdomain_codeset, including -lintl if GLib brings it in if cc.has_function('bind_textdomain_codeset', dependencies: glib_dep) cdata.set('HAVE_BIND_TEXTDOMAIN_CODESET', 1)