Commit 23f06e79 authored by Matti Lehtimäki's avatar Matti Lehtimäki

[aarch64] Do not hardcode libdir in default module path. Contributes to JB#49681

Plugins are under /usr/lib64 instead of /usr/lib on aarch64.
Signed-off-by: Matti Lehtimäki's avatarMatti Lehtimäki <matti.lehtimaki@jolla.com>
parent 1ea5dbbb
......@@ -202,6 +202,8 @@ CPPFLAGS += -DOSSOLOG_COMPILE
CPPFLAGS += -DMCE_VAR_DIR=$(VARDIR)
CPPFLAGS += -DMCE_RUN_DIR=$(RUNDIR)
CPPFLAGS += -DPRG_VERSION=$(VERSION)
# Default module path
CPPFLAGS += -DMCE_DEFAULT_MCE_MODULE_PATH=$(MODULEDIR)
ifeq ($(strip $(ENABLE_WAKELOCKS)),y)
CPPFLAGS += -DENABLE_WAKELOCKS
......
......@@ -2,10 +2,10 @@
[Modules]
# Path to modules
# Path to modules, usually architecture dependant
#
# Do not modify unless you're sure that you know what you're doing!
ModulePath=/usr/lib/mce/modules
#ModulePath=/usr/lib/mce/modules
# Modules
#
......
......@@ -35,7 +35,7 @@
#define MCE_CONF_MODULES_MODULES "Modules"
/** Default value for module path */
#define DEFAULT_MCE_MODULE_PATH "/usr/lib/mce/modules"
#define DEFAULT_MCE_MODULE_PATH G_STRINGIFY(MCE_DEFAULT_MCE_MODULE_PATH)
void mce_modules_dump_info(void);
gboolean mce_modules_init(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment