summaryrefslogtreecommitdiffstats
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
commitf8381e5fa077ad03e270b8697fa9d094c845fe14 (patch)
tree40ba71cb00942780857b1cf84ea37e90c6dfa007
parent352664583e87761925edda23f8bd9a9fe1777fe6 (diff)
downloadpatchage-f8381e5fa077ad03e270b8697fa9d094c845fe14.tar.gz
patchage-f8381e5fa077ad03e270b8697fa9d094c845fe14.tar.bz2
patchage-f8381e5fa077ad03e270b8697fa9d094c845fe14.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/patchage@2788 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/GladeFile.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/GladeFile.hpp b/src/GladeFile.hpp
index 00583c2..2f6ad4b 100644
--- a/src/GladeFile.hpp
+++ b/src/GladeFile.hpp
@@ -26,8 +26,10 @@
#include <libglademm/xml.h>
#include "patchage-config.h"
-#include "binary_location.h"
+#ifdef BUNDLE
+#include "binary_location.h"
+#endif
class GladeFile {
public: