diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-12 11:33:58 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-12 15:40:47 -0500 |
commit | 2c21cbb0444e69e80a1293d7942ee94628f22220 (patch) | |
tree | 905c821d0b083b7b63122fd6df9d26b8ebefcdee /libs/timecode/wscript | |
parent | b7bc2dd2c6a3e8858fcfd6490953ed0cc6919d0d (diff) |
add export/visibility macros to libtimecode and build as a shared library again
Diffstat (limited to 'libs/timecode/wscript')
-rw-r--r-- | libs/timecode/wscript | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libs/timecode/wscript b/libs/timecode/wscript index 6bbf9493bd..0ca89403d1 100644 --- a/libs/timecode/wscript +++ b/libs/timecode/wscript @@ -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(): |