diff options
author | David Robillard <d@drobilla.net> | 2012-01-16 18:27:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-16 18:27:09 +0000 |
commit | e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69 (patch) | |
tree | d3847f5fc36cc2e83b41fe04d35206afa04c179b /wscript | |
parent | 2d724f0e199f74201307cc161031afbd8dba4eb5 (diff) | |
download | serd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.tar.gz serd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.tar.bz2 serd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.zip |
Fix compilation on sane platforms.
git-svn-id: http://svn.drobilla.net/serd/trunk@292 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -67,6 +67,13 @@ def configure(conf): define_name='HAVE_GCOV', mandatory=False) + # Check for fmax + conf.check(function_name='fmax', + header_name='math.h', + define_name='HAVE_FMAX', + lib=['m'], + mandatory=False) + # Check for posix_memalign conf.check(function_name='posix_memalign', header_name='stdlib.h', @@ -120,7 +127,7 @@ def build(bld): libflags = [ '-fvisibility=hidden' ] libs = [ 'm' ] - defines = [ '' ] + defines = [] if sys.platform == 'win32': libflags = [] if bld.env['MSVC_COMPILER']: |