Check for and link with libm

This commit is contained in:
Christian Dywan 2009-03-12 18:20:14 +01:00
parent 74cccb0aae
commit bc3e1408b7
2 changed files with 2 additions and 1 deletions

View file

@ -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':

View file

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