summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs/engine/NodeFactory.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp
index 4ca038b6..b96ad5ca 100644
--- a/src/libs/engine/NodeFactory.cpp
+++ b/src/libs/engine/NodeFactory.cpp
@@ -83,6 +83,7 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label)
if (type != "LADSPA" || lib == "" || label == "")
return NULL;
+#ifdef HAVE_LADSPA
for (Plugins::const_iterator i = _plugins.begin(); i != _plugins.end(); ++i) {
LADSPAPlugin* lp = dynamic_cast<LADSPAPlugin*>(i->second);
if (lp && lp->type_string() == type
@@ -90,6 +91,7 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label)
&& lp->label() == label)
return lp;
}
+#endif
cerr << "ERROR: Failed to find " << type << " plugin " << lib << " / " << label << endl;