aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-28 17:06:56 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-28 17:17:48 +0100
commit8429995cb6eb64649b6fdfa2e6332f1345fb77a9 (patch)
tree8bcf5dc7f945e4cce812b1724bd140d9a4fbe1ec
parent03ed0973531708d855da1129f54ee6b3f933b0af (diff)
downloadxK-8429995cb6eb64649b6fdfa2e6332f1345fb77a9.tar.gz
xK-8429995cb6eb64649b6fdfa2e6332f1345fb77a9.tar.xz
xK-8429995cb6eb64649b6fdfa2e6332f1345fb77a9.zip
ZyklonB: don't look for plugins in /usr/lib
It's quite unlikely that this project will ever see compiled plugins.
-rw-r--r--config.h.in1
-rw-r--r--zyklonb.c1
2 files changed, 0 insertions, 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);