convert libltc into a static lib
This commit is contained in:
parent
5ba369918b
commit
d699745a4d
@ -33,21 +33,16 @@ def configure(conf):
|
|||||||
autowaf.configure(conf)
|
autowaf.configure(conf)
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
obj = bld(features = 'c cshlib')
|
bld (export_includes = ['.'],
|
||||||
obj.source = '''
|
includes = ['.'],
|
||||||
ltc.c
|
name = 'ltc_includes'
|
||||||
timecode.c
|
)
|
||||||
encoder.c
|
|
||||||
decoder.c
|
|
||||||
'''
|
|
||||||
|
|
||||||
obj.export_includes = ['.']
|
bld.stlib (source = ['ltc.c', 'timecode.c', 'encoder.c', 'decoder.c'],
|
||||||
obj.includes = ['.']
|
cflags = [ '-fPIC' ],
|
||||||
obj.name = 'libltc'
|
target = 'ltc',
|
||||||
obj.target = 'ltc'
|
use = 'ltc_includes'
|
||||||
obj.vnum = LIBLTC_LIB_VERSION
|
)
|
||||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
|
||||||
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"']
|
|
||||||
|
|
||||||
def shutdown():
|
def shutdown():
|
||||||
autowaf.shutdown()
|
autowaf.shutdown()
|
||||||
|
Loading…
Reference in New Issue
Block a user