forked from enlightenment/efl
elementary: listen to EFL_RUN_IN_TREE instead of ELM_RUN_IN_TREE
so its unified and easier to handle
This commit is contained in:
parent
6b2f39a59d
commit
c8f32bd770
|
@ -133,7 +133,7 @@ _elm_module_load(Elm_Module *m)
|
||||||
if (strchr(m->name, '/')) return EINA_FALSE;
|
if (strchr(m->name, '/')) return EINA_FALSE;
|
||||||
|
|
||||||
#ifdef NEED_RUN_IN_TREE
|
#ifdef NEED_RUN_IN_TREE
|
||||||
if (getenv("ELM_RUN_IN_TREE"))
|
if (getenv("EFL_RUN_IN_TREE"))
|
||||||
{
|
{
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
ELM_TOP_BUILD_DIR "/src/modules/elementary/%s/.libs/module"EFL_SHARED_EXTENSION, m->name);
|
ELM_TOP_BUILD_DIR "/src/modules/elementary/%s/.libs/module"EFL_SHARED_EXTENSION, m->name);
|
||||||
|
|
|
@ -198,7 +198,7 @@ _elm_web_init(const char *engine)
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
#ifdef NEED_RUN_IN_TREE
|
#ifdef NEED_RUN_IN_TREE
|
||||||
if (getenv("ELM_RUN_IN_TREE"))
|
if (getenv("EFL_RUN_IN_TREE"))
|
||||||
snprintf(buf, sizeof(buf),
|
snprintf(buf, sizeof(buf),
|
||||||
ELM_TOP_BUILD_DIR"/src/modules/web/%s/.libs/module"EFL_SHARED_EXTENSION,
|
ELM_TOP_BUILD_DIR"/src/modules/web/%s/.libs/module"EFL_SHARED_EXTENSION,
|
||||||
engine);
|
engine);
|
||||||
|
|
|
@ -98,7 +98,7 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
#ifdef NEED_RUN_IN_TREE
|
#ifdef NEED_RUN_IN_TREE
|
||||||
putenv("EFL_RUN_IN_TREE=1");
|
putenv("EFL_RUN_IN_TREE=1");
|
||||||
putenv("ELM_RUN_IN_TREE=1");
|
putenv("EFL_RUN_IN_TREE=1");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
|
failed_count = _efl_suite_build_and_run(argc - 1, (const char **)argv + 1,
|
||||||
|
|
Loading…
Reference in New Issue