mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
add export/visibility macros to libtimecode and build as a shared library again
This commit is contained in:
parent
b7bc2dd2c6
commit
2c21cbb044
3 changed files with 29 additions and 29 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue