From 70a304e325da3cdeed679ce94b9f4846a0ae2937 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 3 May 2016 01:15:16 +0200 Subject: [PATCH] wscript: add -lm detection --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index f65451dd..f4eb8fe2 100644 --- 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: -- 2.11.0