[gtk+/wip/meson: 102/136] meson: remove duplicate libm variable



commit 4ae7bece4d104b1d56ae23e973d64d4a49b68711
Author: Tim-Philipp Müller <tim centricular com>
Date:   Thu Mar 23 20:55:59 2017 +0000

    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 10e53b7..48d8a82 100644
--- a/gdk/meson.build
+++ b/gdk/meson.build
@@ -146,7 +146,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 5c33f77..a843e81 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 335cffb..0c28c7c 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]