From c72121077a5d91f9eeabaf029c01c4a1431b9dfc Mon Sep 17 00:00:00 2001 From: handyande Date: Wed, 30 Mar 2005 13:49:10 +0000 Subject: [PATCH] Export an extras dir for external modules SVN revision: 14005 --- enlightenment-config.in | 4 ++++ src/bin/e_module.c | 1 + 2 files changed, 5 insertions(+) diff --git a/enlightenment-config.in b/enlightenment-config.in index 6707a70..46bc9a3 100644 --- a/enlightenment-config.in +++ b/enlightenment-config.in @@ -46,6 +46,10 @@ while test $# -gt 0; do libdirs="-L@libdir@ -le" echo $libdirs ;; + --module-dir) + dir="@libdir@/enlightenment/modules_extra" + echo $dir + ;; *) echo "${usage}" 1>&2 exit 1 diff --git a/src/bin/e_module.c b/src/bin/e_module.c index f057a02..5e3fee0 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -44,6 +44,7 @@ e_module_init(void) if (!_e_path_modules) return 0; e_path_path_append(_e_path_modules, "~/.e/e/modules"); e_path_path_append(_e_path_modules, PACKAGE_LIB_DIR"/enlightenment/modules"); + e_path_path_append(_e_path_modules, PACKAGE_LIB_DIR"/enlightenment/modules_extra"); for (l = e_config->modules; l; l = l->next) { -- 2.7.4