From bc3e1408b73549abe4035d42a7a4aea514976012 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 12 Mar 2009 18:20:14 +0100 Subject: [PATCH] Check for and link with libm --- katze/wscript_build | 2 +- wscript | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/katze/wscript_build b/katze/wscript_build index 128fd357..b52eb015 100644 --- a/katze/wscript_build +++ b/katze/wscript_build @@ -9,7 +9,7 @@ obj.name = 'katze' obj.target = 'katze' obj.includes = '. ../.' obj.find_sources_in_dirs ('.') -obj.uselib = 'GMODULE LIBSOUP GTK LIBXML' +obj.uselib = 'M GMODULE LIBSOUP GTK LIBXML' obj.install_path = None if platform.architecture ()[0] == '64bit': diff --git a/wscript b/wscript index b913591f..f3c23463 100644 --- a/wscript +++ b/wscript @@ -149,6 +149,7 @@ def configure (conf): sqlite = 'no ' conf.define ('HAVE_SQLITE', [0,1][sqlite == 'yes']) + conf.check (lib='m', mandatory=True) check_pkg ('gmodule-2.0', '2.8.0', False) check_pkg ('gthread-2.0', '2.8.0', False) check_pkg ('gio-2.0', '2.16.0', False) -- 2.39.5