summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/NodeFactory.cpp')
-rw-r--r--src/libs/engine/NodeFactory.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/engine/NodeFactory.cpp b/src/libs/engine/NodeFactory.cpp
index b491c0c8..dfc8c194 100644
--- a/src/libs/engine/NodeFactory.cpp
+++ b/src/libs/engine/NodeFactory.cpp
@@ -136,6 +136,8 @@ NodeFactory::plugin(const string& type, const string& lib, const string& label)
if ((*i)->type_string() == type && (*i)->lib_name() == lib && (*i)->plug_label() == label)
return (*i);
+ cerr << "ERROR: Failed to find " << type << " plugin " << lib << " / " << label << endl;
+
return NULL;
}
@@ -565,6 +567,12 @@ NodeFactory::load_ladspa_plugins()
full_lib_name = dir +"/"+ pfile->d_name;
+ // Ignore stupid libtool files. Kludge alert.
+ if (full_lib_name.substr(full_lib_name.length()-3) == ".la") {
+ cerr << "WARNING: Skipping stupid libtool file " << pfile->d_name << endl;
+ continue;
+ }
+
Glib::Module* plugin_library = library(full_lib_name);
if (!plugin_library) {
cerr << "WARNING: Failed to load library " << full_lib_name << endl;