[glade/glade-3-36.msvc: 1/18] meson.build: Don't make libm required



commit 33225897eee7abb43831c48758b203c4ed8ef622
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Jun 2 16:44:05 2020 +0800

    meson.build: Don't make libm required
    
    Some paltforms do not come with a separate math library but its
    functionalities are included in the CRT implementation.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index af0a21d8..28244817 100644
--- a/meson.build
+++ b/meson.build
@@ -102,7 +102,7 @@ gmodule_export_dep = dependency('gmodule-export-2.0')
 gtk_dep = dependency('gtk+-3.0', version: '>= 3.22.0')
 libxml_dep = dependency('libxml-2.0', version: '>= 2.4.0')
 
-m_dep = cc.find_library('m')
+m_dep = cc.find_library('m', required: false)
 
 # Check for the unix print widgets in gtk+
 have_gtk_unix_print = cc.has_function('gtk_print_unix_dialog_new', dependencies: gtk_dep)


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