ZyklonB: don't look for plugins in /usr/lib
It's quite unlikely that this project will ever see compiled plugins.
This commit is contained in:
parent
03ed097353
commit
8429995cb6
@ -2,7 +2,6 @@
|
|||||||
#define CONFIG_H
|
#define CONFIG_H
|
||||||
|
|
||||||
#define PROGRAM_VERSION "${project_version}"
|
#define PROGRAM_VERSION "${project_version}"
|
||||||
#define LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}"
|
|
||||||
|
|
||||||
#cmakedefine HAVE_READLINE
|
#cmakedefine HAVE_READLINE
|
||||||
#cmakedefine HAVE_EDITLINE
|
#cmakedefine HAVE_EDITLINE
|
||||||
|
@ -1019,7 +1019,6 @@ plugin_resolve_relative_filename (const char *filename)
|
|||||||
{
|
{
|
||||||
struct strv paths = strv_make ();
|
struct strv paths = strv_make ();
|
||||||
get_xdg_data_dirs (&paths);
|
get_xdg_data_dirs (&paths);
|
||||||
strv_append (&paths, LIBDIR); // Legacy, we do not compile any plugins
|
|
||||||
char *result = resolve_relative_filename_generic
|
char *result = resolve_relative_filename_generic
|
||||||
(&paths, PROGRAM_NAME "/plugins/", filename);
|
(&paths, PROGRAM_NAME "/plugins/", filename);
|
||||||
strv_free (&paths);
|
strv_free (&paths);
|
||||||
|
Loading…
Reference in New Issue
Block a user