mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-05 22:34:56 +01:00
Fix PortAudio with MSYS
PortAudio can now successfully be used with Ardour when building on Windows/MSYS. This will not work with MSYS packaged PortAudio, it doesn't come with ASIO. You must build from source.
This commit is contained in:
parent
273e1af79e
commit
4f434154a0
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
import os
|
||||
import sys
|
||||
import platform as PLATFORM
|
||||
|
||||
I18N_PACKAGE = 'portaudio-backend'
|
||||
|
||||
|
|
@ -25,6 +27,9 @@ def build_portaudio (bld, name, defines):
|
|||
obj.target = name
|
||||
obj.use = 'libardour libpbd'
|
||||
obj.uselib = 'PORTAUDIO GLIBMM XML'
|
||||
if bld.env['build_target'] == 'mingw' and sys.platform == "win32":
|
||||
obj.stlib = ['portaudio']
|
||||
obj.lib = ['ole32', 'setupapi', 'uuid', 'winmm', 'ksuser', 'jack64']
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
|
||||
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
|
||||
'ARDOURBACKEND_DLL_EXPORTS',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue