d220f477ed
Variables by these names are only used from the local wscript and when running "waf configure", which already for other reasons only can run at the top-level. These variables are thus not mandatory and not used.
22 lines
487 B
Python
22 lines
487 B
Python
#!/usr/bin/env python
|
|
from waflib.extras import autowaf as autowaf
|
|
import os
|
|
|
|
def options(opt):
|
|
autowaf.set_options(opt)
|
|
|
|
def configure(conf):
|
|
pass
|
|
|
|
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'
|
|
obj.install_path = os.path.join(bld.env['LIBDIR'])
|
|
obj.defines = [
|
|
'_POSIX_SOURCE',
|
|
'_XOPEN_SOURCE=500',
|
|
]
|