fix compilation of libcanvas so that when built as a shared lib (the default), -DLIBCANVAS_DLL_EXPORTS=1 is not lost
This commit is contained in:
parent
952aeea4e9
commit
560c667ea9
@ -86,7 +86,7 @@ def build(bld):
|
|||||||
obj.target = 'canvas'
|
obj.target = 'canvas'
|
||||||
obj.vnum = CANVAS_LIB_VERSION
|
obj.vnum = CANVAS_LIB_VERSION
|
||||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||||
obj.defines = [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
||||||
|
|
||||||
if bld.env['BUILD_TESTS'] and bld.env['HAVE_CPPUNIT']:
|
if bld.env['BUILD_TESTS'] and bld.env['HAVE_CPPUNIT']:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user