diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-10 23:08:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-10 23:08:55 +0000 |
commit | 30db1a847a7543c58458df5a31f940f522cb995a (patch) | |
tree | 49a238ba84c0348c61af459bea612599caffdf88 /libs/pbd/wscript | |
parent | 07921555aac24ac20622cc097fef7f4e58f1e0d0 (diff) |
fix OS X compilation
git-svn-id: svn://localhost/ardour2/branches/3.0@8002 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/wscript')
-rw-r--r-- | libs/pbd/wscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/wscript b/libs/pbd/wscript index 54b416323a..45fc2c8027 100644 --- a/libs/pbd/wscript +++ b/libs/pbd/wscript @@ -41,6 +41,8 @@ def configure(conf): conf.check(function_name='getmntent', header_name='mntent.h', define_name='HAVE_GETMNTENT') conf.check(header_name='execinfo.h', define_name='HAVE_EXECINFO') conf.check(header_name='unistd.h', define_name='HAVE_UNISTD') + if conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', ccflags='-D_XOPEN_SOURCE=600') == False: + conf.define ('NO_POSIX_MEMALIGN',1) conf.write_config_header('libpbd-config.h') |