aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index e9cd1cd..da5fe0b 100644
--- a/wscript
+++ b/wscript
@@ -28,7 +28,7 @@ def configure(conf):
conf.check(function_name = 'sinf',
header_name = 'math.h',
- linkflags = '-lm',
+ lib = 'm',
define_name = 'HAVE_SINF',
mandatory = False)
@@ -130,7 +130,7 @@ def build(bld):
name = 'wavegen',
after = ['parabola', 'sawtooth', 'square'],
includes = ['./src', './src/include'],
- linkflags = ['-lm'],
+ lib = ['m'],
install_path = None)
penv = bld.env.derive()