From 569ba81f4254ca8836c29088a098208d6a905c06 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sat, 15 Dec 2012 17:59:50 -0800 Subject: [PATCH] Mixer: Explicitly link to libdl. --- mixer/wscript | 2 +- wscript | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mixer/wscript b/mixer/wscript index eb10c79..6ef4bcb 100644 --- a/mixer/wscript +++ b/mixer/wscript @@ -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', diff --git a/wscript b/wscript index 80e06d8..90cfe46 100644 --- a/wscript +++ b/wscript @@ -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: