Discussion:
explicit link to libdl
James Morris
2012-12-15 16:27:27 UTC
Permalink
diff --git a/lib/ntk b/lib/ntk
--- a/lib/ntk
+++ b/lib/ntk
@@ -1 +1 @@
-Subproject commit 37a2409bd983cc467016395c3e93e4a592e3985c
+Subproject commit 37a2409bd983cc467016395c3e93e4a592e3985c-dirty
diff --git a/mixer/wscript b/mixer/wscript
index eb10c79..a8e5ed3 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' ], install_path = '${BINDIR}')

bld( features = 'subst',
diff --git a/wscript b/wscript
index 80e06d8..d40927b 100644
--- a/wscript
+++ b/wscript
@@ -67,6 +67,7 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', global_flags )

conf.env['LIB_PTHREAD'] = ['pthread']
+ conf.env['LIB_DL'] = ['dl']

# NTK_EXTRA_FLAGS=''
# if not Options.options.use_system_ntk:

Loading...