diff options
author | David Robillard <d@drobilla.net> | 2011-11-26 19:44:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-26 19:44:13 +0000 |
commit | b61b5ba7b979b35f37b291521924ba9839b546bc (patch) | |
tree | 55ddacc854b5987a83d52c0a9f72835b5f6cab3f | |
parent | 0bfe9ea348b5719bc441a573141b26b7d9c4f0d0 (diff) | |
download | patchage-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-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', |