Add support for statically-built plug-ins
[babeltrace.git] / converter / babeltrace.c
index 1c696545e92c35f176d5251e89797643b2a6692a..d619066d84b5722720200be4cd72b3eddee09729 100644 (file)
@@ -302,6 +302,12 @@ int main(int argc, char **argv)
                goto end;
        }
 
+       ret = bt_component_factory_load_static(component_factory);
+       if (ret) {
+               fprintf(stderr, "Failed to load static plugins.\n");
+               goto end;
+       }
+
        print_component_classes_found(component_factory);
        source_class = bt_component_factory_get_component_class(
                        component_factory, "ctf", BT_COMPONENT_TYPE_SOURCE,
This page took 0.023125 seconds and 4 git commands to generate.