fix crash when copy'ing latent plugins
[ardour.git] / libs / timecode / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import Options
4 import os
5
6 # Mandatory variables
7 top = '.'
8 out = 'build'
9
10 def options(opt):
11     autowaf.set_options(opt)
12
13 def configure(conf):
14     conf.load('compiler_cxx')
15     autowaf.configure(conf)
16
17 def build(bld):
18     bld.shlib (
19                source   = [ 'src/time.cc', 'src/bbt_time.cc' ],
20                name     = 'libtimecode',
21                target   = 'timecode',
22                includes = ['.'],
23                export_includes = ['.'],
24                defines  = [ 'LIBTIMECODE_DLL_EXPORTS' ],
25                install_path = bld.env['LIBDIR']
26                )
27
28 def shutdown():
29     autowaf.shutdown()