Fix compile when using external version of libltc

This commit is contained in:
Tim Mayberry 2013-12-05 20:57:36 +10:00
parent b2bc7cfbe1
commit ccebb050e4
4 changed files with 7 additions and 8 deletions

View file

@ -38,13 +38,13 @@ def configure(conf):
def build(bld):
if bld.is_defined('USE_EXTERNAL_LIBS'):
return
bld (export_includes = ['.'],
includes = ['.'],
bld (export_includes = ['ltc'],
name = 'libltc_includes'
)
bld.stlib (source = ['ltc.c', 'timecode.c', 'encoder.c', 'decoder.c'],
cflags = [ '-fPIC' ],
includes = ['.'],
target = 'libltc',
use = 'libltc_includes'
)