From 8429995cb6eb64649b6fdfa2e6332f1345fb77a9 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Wed, 28 Oct 2020 17:06:56 +0100 Subject: ZyklonB: don't look for plugins in /usr/lib It's quite unlikely that this project will ever see compiled plugins. --- config.h.in | 1 - zyklonb.c | 1 - 2 files changed, 2 deletions(-) diff --git a/config.h.in b/config.h.in index 176dde5..7e68c14 100644 --- a/config.h.in +++ b/config.h.in @@ -2,7 +2,6 @@ #define CONFIG_H #define PROGRAM_VERSION "${project_version}" -#define LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}" #cmakedefine HAVE_READLINE #cmakedefine HAVE_EDITLINE diff --git a/zyklonb.c b/zyklonb.c index c8fddeb..9a37af8 100644 --- a/zyklonb.c +++ b/zyklonb.c @@ -1019,7 +1019,6 @@ plugin_resolve_relative_filename (const char *filename) { struct strv paths = strv_make (); get_xdg_data_dirs (&paths); - strv_append (&paths, LIBDIR); // Legacy, we do not compile any plugins char *result = resolve_relative_filename_generic (&paths, PROGRAM_NAME "/plugins/", filename); strv_free (&paths); -- cgit v1.2.3-70-g09d2