diff options
author | David Robillard <d@drobilla.net> | 2011-01-06 03:22:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-06 03:22:35 +0000 |
commit | f8381e5fa077ad03e270b8697fa9d094c845fe14 (patch) | |
tree | 40ba71cb00942780857b1cf84ea37e90c6dfa007 /src/GladeFile.hpp | |
parent | 352664583e87761925edda23f8bd9a9fe1777fe6 (diff) | |
download | patchage-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
Diffstat (limited to 'src/GladeFile.hpp')
-rw-r--r-- | src/GladeFile.hpp | 4 |
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: |