summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-26 19:44:13 +0000
committerDavid Robillard <d@drobilla.net>2011-11-26 19:44:13 +0000
commitb61b5ba7b979b35f37b291521924ba9839b546bc (patch)
tree55ddacc854b5987a83d52c0a9f72835b5f6cab3f
parent0bfe9ea348b5719bc441a573141b26b7d9c4f0d0 (diff)
downloadpatchage-b61b5ba7b979b35f37b291521924ba9839b546bc.tar.gz
patchage-b61b5ba7b979b35f37b291521924ba9839b546bc.tar.bz2
patchage-b61b5ba7b979b35f37b291521924ba9839b546bc.zip
Use the more portable/correct lib instead of linkflags.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3647 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index ce32d8c..3b0986c 100644
--- a/wscript
+++ b/wscript
@@ -69,7 +69,7 @@ def configure(conf):
conf.check(function_name='dladdr',
header_name='dlfcn.h',
cflags='-D_GNU_SOURCE',
- linkflags='-ldl',
+ lib=['dl'],
define_name='HAVE_DLADDR',
mandatory=False)
@@ -151,7 +151,7 @@ def build(bld):
prog.source += ' src/AlsaDriver.cpp '
prog.uselib += ' ALSA '
if bld.is_defined('PATCHAGE_BINLOC'):
- prog.linkflags = ['-ldl']
+ prog.lib = ['dl']
# XML UI definition
bld(features = 'subst',