Changeset 2104

Show
Ignore:
Timestamp:
06/14/09 10:28:16 (15 months ago)
Author:
drobilla
Message:

Link C++ plugins (completely useless though they may be) with lv2plugin.cpp (fix ticket #327).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lv2/wscript

    r1962 r2104  
    3939        obj              = bld.new_task_gen(lang, 'shlib') 
    4040        obj.env          = penv 
    41         obj.source       = 'plugins/%s.lv2/%s.%s' % (name, name, ext) 
     41        obj.source       = [ 'plugins/%s.lv2/%s.%s' % (name, name, ext) ] 
    4242        obj.includes     = '.' 
    4343        obj.name         = name 
    4444        obj.target       = name 
    4545        obj.install_path = '${LV2DIR}/' + name + '.lv2' 
     46 
     47        if lang == 'cxx': 
     48                obj.source += [ 'ext/lv2plugin.cpp' ] 
    4649 
    4750        # Data