Check for and link with libm
This commit is contained in:
parent
74cccb0aae
commit
bc3e1408b7
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ obj.name = 'katze'
|
||||||
obj.target = 'katze'
|
obj.target = 'katze'
|
||||||
obj.includes = '. ../.'
|
obj.includes = '. ../.'
|
||||||
obj.find_sources_in_dirs ('.')
|
obj.find_sources_in_dirs ('.')
|
||||||
obj.uselib = 'GMODULE LIBSOUP GTK LIBXML'
|
obj.uselib = 'M GMODULE LIBSOUP GTK LIBXML'
|
||||||
obj.install_path = None
|
obj.install_path = None
|
||||||
|
|
||||||
if platform.architecture ()[0] == '64bit':
|
if platform.architecture ()[0] == '64bit':
|
||||||
|
|
1
wscript
1
wscript
|
@ -149,6 +149,7 @@ def configure (conf):
|
||||||
sqlite = 'no '
|
sqlite = 'no '
|
||||||
conf.define ('HAVE_SQLITE', [0,1][sqlite == 'yes'])
|
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 ('gmodule-2.0', '2.8.0', False)
|
||||||
check_pkg ('gthread-2.0', '2.8.0', False)
|
check_pkg ('gthread-2.0', '2.8.0', False)
|
||||||
check_pkg ('gio-2.0', '2.16.0', False)
|
check_pkg ('gio-2.0', '2.16.0', False)
|
||||||
|
|
Loading…
Reference in a new issue