diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 14:20:02 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 14:20:02 -0400 |
commit | 742753a9969f443e4a548fc11d3ed82efe74f5e9 (patch) | |
tree | b753b3a800d3bbcbb4f6c2893a13080eccf9e105 /libs/ardour/globals.cc | |
parent | 1b21eec042ca3c689cfeddbef9d00d1fa653079a (diff) |
Don't require liblrdf on windows
This removes dependence on liblrdf, libraptor and libxslt
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index cc427f7428..fe07332d85 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -57,7 +57,9 @@ #include <glibmm/fileutils.h> #include <glibmm/miscutils.h> +#ifdef HAVE_LRDF #include <lrdf.h> +#endif #include "pbd/cpus.h" #include "pbd/error.h" @@ -265,7 +267,9 @@ ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir // allow ardour the absolute maximum number of open files lotsa_files_please (); +#ifdef HAVE_LRDF lrdf_init(); +#endif Library = new AudioLibrary; BootMessage (_("Loading configuration")); @@ -360,7 +364,9 @@ int ARDOUR::cleanup () { delete Library; +#ifdef HAVE_LRDF lrdf_cleanup (); +#endif delete &ControlProtocolManager::instance(); #ifdef WINDOWS_VST_SUPPORT fst_exit (); |