13
0

add -DPROGRAM_NAME to libpbd compile flags

This commit is contained in:
Paul Davis 2014-03-01 22:43:46 -05:00
parent 08c89809ee
commit fd64bba1de

View File

@ -142,7 +142,9 @@ def build(bld):
obj.uselib += ' OSX'
obj.vnum = LIBPBD_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"',
'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"'
]
if bld.env['build_target'] == 'x86_64':
obj.defines += [ 'USE_X86_64_ASM' ]
@ -168,6 +170,5 @@ def build(bld):
if sys.platform != 'darwin' and bld.env['build_target'] != 'mingw':
testobj.linkflags = ['-lrt']
def shutdown():
autowaf.shutdown()