summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-06 03:22:35 +0000
committerDavid Robillard <d@drobilla.net>2011-01-06 03:22:35 +0000
commite1f6dcf7dca9363f901cd96fc389e03f4cf75e12 (patch)
tree94cfdeb7e868890f37633b988c24bcd7e0286459 /src/shared
parent70ae08dce381a848d03c40741c56c5117918b832 (diff)
downloadingen-e1f6dcf7dca9363f901cd96fc389e03f4cf75e12.tar.gz
ingen-e1f6dcf7dca9363f901cd96fc389e03f4cf75e12.tar.bz2
ingen-e1f6dcf7dca9363f901cd96fc389e03f4cf75e12.zip
Link against -ldl when necessary.
Don't compile in binary_location.h (which uses dladdr) unless building a bundle. Probably fix ticket #621. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2788 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/wscript b/src/shared/wscript
index 05de5854..84f7b4ee 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -28,5 +28,6 @@ def build(bld):
obj.target = 'ingen_shared'
obj.vnum = '0.0.0'
obj.install_path = '${LIBDIR}'
+ obj.linkflags = '-ldl'
autowaf.use_lib(bld, obj, 'GLIBMM LV2CORE SLV2 RAUL REDLANDMM LIBLO')