13
0

Make some functions which are needed for native VST support like snprintf() visible in FreeBSD.

This commit is contained in:
Michael Beer 2016-09-05 20:14:29 +02:00 committed by Robin Gareus
parent b86a4a585d
commit 8d8ca6a8fa

View File

@ -88,4 +88,8 @@ def build(bld):
'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',
'LIBARDOUR="' + bld.env['lwrcase_dirname'] + '"',
]
if re.search ("freebsd", sys.platform) != None:
obj.defines.append('_POSIX_C_SOURCE=200809')
obj.defines.append('_XOPEN_SOURCE=700')
obj.install_path = os.path.join(bld.env['LIBDIR'])