diff --git a/src/modules/module-filter-chain/ladspa_plugin.c b/src/modules/module-filter-chain/ladspa_plugin.c index a34597709..172fc2523 100644 --- a/src/modules/module-filter-chain/ladspa_plugin.c +++ b/src/modules/module-filter-chain/ladspa_plugin.c @@ -22,6 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include #include @@ -238,7 +240,7 @@ struct fc_plugin *load_ladspa_plugin(const struct spa_support *support, uint32_t search_dirs = getenv("LADSPA_PATH"); if (!search_dirs) - search_dirs = "/usr/lib64/ladspa"; + search_dirs = "/usr/lib64/ladspa:/usr/lib/ladspa:" LIBDIR; /* * set the errno for the case when `ladspa_handle_load_by_path()`