Mixer: Explicitly link to libdl.

pull/43/head
Jonathan Moore Liles 2012-12-15 17:59:50 -08:00
parent d455621543
commit 569ba81f42
2 changed files with 4 additions and 1 deletions

View File

@ -65,7 +65,7 @@ src/main.C
target = 'non-mixer',
includes = ['.', 'src', '../FL', '../nonlib'],
use = ['nonlib', 'fl_widgets'],
uselib = [ 'JACK', 'LIBLO', 'LRDF', 'XPM', 'NTK', 'NTK_IMAGES', 'PTHREAD' ],
uselib = [ 'JACK', 'LIBLO', 'LRDF', 'XPM', 'NTK', 'NTK_IMAGES', 'PTHREAD', 'DL', 'M' ],
install_path = '${BINDIR}')
bld( features = 'subst',

View File

@ -67,6 +67,8 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', global_flags )
conf.env['LIB_PTHREAD'] = ['pthread']
conf.env['LIB_DL'] = ['dl']
conf.env['LIB_M'] = ['m']
# NTK_EXTRA_FLAGS=''
# if not Options.options.use_system_ntk:
@ -92,6 +94,7 @@ def configure(conf):
conf.check_cfg(package='liblo', uselib_store='LIBLO',args="--cflags --libs",
atleast_version='0.26', mandatory=True)
###
for i in common: