Export an extras dir for external modules

SVN revision: 14005
This commit is contained in:
handyande 2005-03-30 13:49:10 +00:00 committed by handyande
parent 29acb2ef12
commit c72121077a
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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)
{