Fix cross-compile linking (libusb - see also 5794d21a76
)
This commit is contained in:
parent
f589aedcfe
commit
6572b8d409
@ -577,6 +577,8 @@ def build(bld):
|
||||
obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML LILV RUBBERBAND AUBIO LRDF ARCHIVE VAMPSDK VAMPHOSTSDK'
|
||||
obj.source += [ 'luadoc.cc', 'bundle_env_linux.cc' ]
|
||||
obj.use += [ 'X11' ]
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
if bld.is_defined('HAVE_SUIL'):
|
||||
obj.source += [ 'lv2_plugin_ui.cc' ]
|
||||
obj.use += [ 'SUIL' ]
|
||||
@ -663,6 +665,8 @@ def build(bld):
|
||||
obj.linkflags = ''
|
||||
obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML LILV RUBBERBAND AUBIO LRDF ARCHIVE VAMPSDK VAMPHOSTSDK'
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' AUDIOUNITS OSX '
|
||||
obj.use += ' libappleutility'
|
||||
|
@ -56,6 +56,9 @@ def build(bld):
|
||||
if bld.is_defined('HAVE_SUIL'):
|
||||
obj.uselib += ' SUIL'
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' AUDIOUNITS OSX'
|
||||
obj.use += ' libappleutility'
|
||||
|
@ -43,6 +43,8 @@ def build(bld):
|
||||
obj.use = [ 'libpbd' ]
|
||||
obj.uselib = 'GIOMM DL UUID ARCHIVE CURL XML'
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' OSX'
|
||||
if bld.env['build_target'] == 'mingw':
|
||||
@ -68,6 +70,9 @@ def build(bld):
|
||||
obj.uselib = ['GIOMM', 'DL', 'OSX', 'ARCHIVE', 'CURL', 'XML' ]
|
||||
obj.use = [ 'libpbd', 'libtemporal', 'libevoral' ]
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ['USB']
|
||||
|
||||
obj.includes = [ '../pbd/', '../ardour/', '.' ]
|
||||
obj.defines = [
|
||||
'_POSIX_SOURCE',
|
||||
|
@ -68,6 +68,9 @@ def build(bld):
|
||||
if bld.is_defined('HAVE_SUIL'):
|
||||
obj.uselib += ' SUIL'
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' AUDIOUNITS OSX'
|
||||
obj.use += ' libappleutility'
|
||||
|
@ -57,6 +57,9 @@ def build_ardour_util(bld, util):
|
||||
if bld.is_defined('HAVE_SUIL'):
|
||||
obj.uselib += ' SUIL'
|
||||
|
||||
if bld.is_defined('HAVE_USB'):
|
||||
obj.uselib += ' USB'
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
obj.uselib += ' AUDIOUNITS OSX'
|
||||
obj.use += ' libappleutility'
|
||||
|
Loading…
Reference in New Issue
Block a user