From f8381e5fa077ad03e270b8697fa9d094c845fe14 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 6 Jan 2011 03:22:35 +0000 Subject: 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 --- src/GladeFile.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 #include "patchage-config.h" -#include "binary_location.h" +#ifdef BUNDLE +#include "binary_location.h" +#endif class GladeFile { public: -- cgit v1.2.1