diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-28 14:02:03 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-28 17:17:34 +0100 |
commit | 03ed0973531708d855da1129f54ee6b3f933b0af (patch) | |
tree | 1212c0d9ca0a6f921d067e00dcfa01409d9b485f /config.h.in | |
parent | b68e5ceedc3bc126ac94617053efd184dc5658a5 (diff) | |
download | xK-03ed0973531708d855da1129f54ee6b3f933b0af.tar.gz xK-03ed0973531708d855da1129f54ee6b3f933b0af.tar.xz xK-03ed0973531708d855da1129f54ee6b3f933b0af.zip |
ZyklonB: use XDG paths by default
Install plugins to /usr/share rather than /usr/lib since they're
arch-independent. Many precedents can be found for scripted plugins
in /usr/share and fewer for /usr/lib.
Look for plugins in all XDG data directories and repurpose
the "plugin_dir" setting to override this behaviour.
This adds some complexity to the bot but unifies the project.
It might make sense to remove the "plugin_dir" setting.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in index e5a98d0..176dde5 100644 --- a/config.h.in +++ b/config.h.in @@ -2,7 +2,7 @@ #define CONFIG_H #define PROGRAM_VERSION "${project_version}" -#define ZYKLONB_PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/${zyklonb_plugin_dir}" +#define LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}" #cmakedefine HAVE_READLINE #cmakedefine HAVE_EDITLINE |