add export/visibility macros to libtimecode and build as a shared library again

This commit is contained in:
Paul Davis 2014-01-12 11:33:58 -05:00
parent b7bc2dd2c6
commit 2c21cbb044
3 changed files with 29 additions and 29 deletions

View 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():