fix ming32 build&install for asio backend

This commit is contained in:
Robin Gareus
2014-10-03 00:46:34 +02:00
parent c2fc7f04a7
commit 0af091edf3
2 changed files with 6 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
using namespace ARDOUR;
#ifdef __MINGW64__
#if defined __MINGW64__ || defined __MINGW32__
extern "C" __declspec(dllexport) ARDOUR::AudioBackendInfo* descriptor ()
#else
extern "C" ARDOURBACKEND_API ARDOUR::AudioBackendInfo* descriptor ()

View File

@@ -29,8 +29,8 @@ def build(bld):
if bld.env['build_target'] == 'mingw':
obj = bld(features = 'cxx cxxshlib')
else:
obj = bld(features = 'c cxx cxxshlib')
obj = bld(features = 'c cxx cxxshlib')
if sys.platform == 'darwin':
if bld.env['build_target'] not in [ 'lion' ]:
obj.framework = 'CoreMidi'
@@ -94,8 +94,9 @@ def build(bld):
obj.target = 'waves_audiobackend'
obj.use = 'libardour libpbd'
if bld.env['build_target'] == 'mingw':
obj.uselib = ['PORTAUDIO']
obj.vnum = WAVESAUDIOBACKEND_VERSION
obj.uselib = ['PORTAUDIO']
if (bld.env['build_target'] != 'mingw'):
obj.vnum = WAVESAUDIOBACKEND_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
if bld.env['build_target']== 'mingw':