mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
wscript: drop str() on VERSION
It will already have been converted to str in sanitize(), and even python2 is fine without the extra str.
This commit is contained in:
parent
2bb311f99b
commit
0e3e51d958
7 changed files with 13 additions and 13 deletions
|
|
@ -19,7 +19,7 @@ def build(bld):
|
|||
# this program does not do the whole hidden symbols thing
|
||||
obj.cxxflags = [ '-fvisibility=default' ]
|
||||
obj.source = hardour_sources
|
||||
obj.target = 'hardour-' + str (bld.env['VERSION'])
|
||||
obj.target = 'hardour-' + bld.env['VERSION']
|
||||
obj.includes = ['.']
|
||||
obj.use = [ 'libpbd',
|
||||
'libardour',
|
||||
|
|
@ -29,7 +29,7 @@ def build(bld):
|
|||
]
|
||||
|
||||
obj.defines = [
|
||||
'VERSIONSTRING="' + str(bld.env['VERSION']) + '"',
|
||||
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
|
||||
'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
|
||||
'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
|
||||
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue