merge with master, primarily for adrian's maximise-mixer change
[ardour.git] / libs / timecode / wscript
index 6bbf9493bd16f736a72ab8a857642a8600bdb368..0ca89403d15c4802241a29fdbee6eeaa28451e64 100644 (file)
@@ -15,15 +15,12 @@ def configure(conf):
     autowaf.configure(conf)
 
 def build(bld):
-    bld (export_includes = ['.'],
-         includes        = ['.'],
-         name            = 'libtimecode_includes'
-         )
-
-    bld.stlib (cxxflags = [ '-fPIC' ],
+    bld.shlib (
                source   = [ 'src/time.cc', 'src/bbt_time.cc' ],
                target   = 'libtimecode',
-               use      = 'libtimecode_includes'
+               includes = ['.'],
+               export_includes = ['.'],
+               defines  = [ 'LIBTIMECODE_DLL_EXPORTS' ]
                )
 
 def shutdown():