projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
55d5612
)
wscript: add -lm detection
author
Paul Brossier
<piem@piem.org>
Mon, 2 May 2016 23:15:16 +0000
(
01:15
+0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 2 May 2016 23:15:16 +0000
(
01:15
+0200)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index
f65451d
..
f4eb8fe
100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-121,6
+121,8
@@
def configure(ctx):
else:
ctx.env.CFLAGS += ['/W4']
+ ctx.check_cc(lib='m', uselib_store='M', mandatory=False)
+
if target_platform not in ['win32', 'win64']:
ctx.env.CFLAGS += ['-fPIC']
else: