Towards waf python 2+3 support

This commit is contained in:
David Runge 2020-01-20 23:08:11 +01:00 committed by Robin Gareus
parent dfe712c564
commit 2e9ac80e99
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
22 changed files with 517 additions and 94 deletions

View file

@ -86,7 +86,7 @@ def build(bld):
utils = bld.path.ant_glob('*.cc', excl=['example.cc', 'common.cc'])
for util in utils:
fn = str(util)[:-3]
fn = os.path.splitext(os.path.basename(str(util)))[0]
build_ardour_util(bld, fn)
if bld.env['build_target'] != 'mingw':
bld.symlink_as(bld.env['BINDIR'] + '/' + pgmprefix + "-" + fn, bld.env['LIBDIR'] + '/utils/ardour-util.sh')