meson: remove duplicate libm variable

Only need one of libm and mlib
This commit is contained in:
Tim-Philipp Müller 2017-03-23 20:55:59 +00:00 committed by Emmanuele Bassi
parent 5d71390a75
commit 2f3c975058
3 changed files with 2 additions and 4 deletions

View File

@ -145,7 +145,7 @@ wlinc = include_directories('.')
gdk_deps = [
mlib,
libm,
pixbuf_dep,
cairo_dep,
pango_dep,

View File

@ -795,7 +795,7 @@ gtk_deps = [
pixbuf_dep,
atk_dep,
epoxy_dep,
mlib,
libm,
graphene_dep
]

View File

@ -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)