From: Christian Dywan Date: Thu, 12 Mar 2009 17:20:14 +0000 (+0100) Subject: Check for and link with libm X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3e1408b73549abe4035d42a7a4aea514976012;p=midori Check for and link with libm --- 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)