ref: 70a304e325da3cdeed679ce94b9f4846a0ae2937
parent: 55d56126f1255721480dc501f2611988c00b3f54
author: Paul Brossier <piem@piem.org>
date: Mon May 2 21:15:16 EDT 2016
wscript: add -lm detection
--- a/wscript
+++ b/wscript
@@ -121,6 +121,8 @@
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: