Browse Source

Link math library where required.

zrythm_meson
David Robillard 8 years ago
parent
commit
fe4d7f69e7
  1. 2
      plugins/eg-amp.lv2/wscript
  2. 4
      plugins/eg-metro.lv2/wscript
  3. 5
      plugins/eg-sampler.lv2/wscript

2
plugins/eg-amp.lv2/wscript

@ -23,7 +23,7 @@ def configure(conf): @@ -23,7 +23,7 @@ def configure(conf):
if not autowaf.is_child():
autowaf.check_pkg(conf, 'lv2', uselib_store='LV2')
conf.check(features='c cprogram', lib='m', uselib_store='M', mandatory=False)
conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False)
autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR)
print('')

4
plugins/eg-metro.lv2/wscript

@ -23,6 +23,8 @@ def configure(conf): @@ -23,6 +23,8 @@ def configure(conf):
if not autowaf.is_child():
autowaf.check_pkg(conf, 'lv2', atleast_version='0.2.0', uselib_store='LV2')
conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False)
autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR)
print('')
@ -58,7 +60,7 @@ def build(bld): @@ -58,7 +60,7 @@ def build(bld):
name = 'metro',
target = '%s/metro' % bundle,
install_path = '${LV2DIR}/%s' % bundle,
use = 'LV2',
use = ['M', 'LV2'],
includes = includes)
obj.env.cshlib_PATTERN = module_pat

5
plugins/eg-sampler.lv2/wscript

@ -27,6 +27,7 @@ def configure(conf): @@ -27,6 +27,7 @@ def configure(conf):
atleast_version='1.0.0', mandatory=True)
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2',
atleast_version='2.18.0', mandatory=False)
conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False)
autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR)
print('')
@ -64,7 +65,7 @@ def build(bld): @@ -64,7 +65,7 @@ def build(bld):
name = 'sampler',
target = '%s/sampler' % bundle,
install_path = '${LV2DIR}/%s' % bundle,
use = 'SNDFILE LV2',
use = ['M', 'SNDFILE', 'LV2'],
includes = includes)
obj.env.cshlib_PATTERN = module_pat
@ -75,6 +76,6 @@ def build(bld): @@ -75,6 +76,6 @@ def build(bld):
name = 'sampler_ui',
target = '%s/sampler_ui' % bundle,
install_path = '${LV2DIR}/%s' % bundle,
use = 'GTK2 LV2',
use = ['GTK2', 'LV2'],
includes = includes)
obj.env.cshlib_PATTERN = module_pat

Loading…
Cancel
Save