2014-03-13 11:50:44 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
|
|
|
|
def options(opt):
|
2022-01-25 11:43:36 -05:00
|
|
|
pass
|
2014-03-13 11:50:44 -04:00
|
|
|
|
|
|
|
def configure(conf):
|
2022-01-22 16:09:13 -05:00
|
|
|
pass
|
2014-03-13 11:50:44 -04:00
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
if bld.env['build_target'] == 'mingw':
|
|
|
|
return
|
|
|
|
obj = bld (features = 'c cprogram')
|
|
|
|
obj.source = 'exec_wrapper.c'
|
|
|
|
obj.target = 'ardour-exec-wrapper'
|
2014-11-13 13:57:40 -05:00
|
|
|
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
2014-03-13 11:50:44 -04:00
|
|
|
obj.defines = [
|
|
|
|
'_POSIX_SOURCE',
|
2014-03-14 14:52:23 -04:00
|
|
|
'_XOPEN_SOURCE=500',
|
2014-03-13 11:50:44 -04:00
|
|
|
]
|