Export an extras dir for external modules

SVN revision: 14005
devs/princeamd/enlightenment-0.17-elive
handyande 18 years ago committed by handyande
parent 29acb2ef12
commit c72121077a
  1. 4
      enlightenment-config.in
  2. 1
      src/bin/e_module.c

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

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

Loading…
Cancel
Save