diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -36,6 +36,10 @@ def configure(conf): define_name = 'HAVE_SINF', mandatory = False) + conf.check_cc(define_name = 'HAVE_LIBDL', + lib = 'dl', + mandatory = False) + conf.write_config_header('blop_config.h', remove=False) # Set env.pluginlib_PATTERN @@ -115,9 +119,12 @@ def build(bld): # Oscillators for i in ['pulse', 'sawtooth', 'square', 'triangle']: + lib = [] + if bld.is_defined('HAVE_LIBDL'): + lib += ['dl'] build_plugin(bld, 'c', 'blop.lv2', i, ['src/%s.c' % i, 'src/wavedata.c'], - lib=['dl']) + lib=lib) # Sequencers for i in [16, 32, 64]: |