forked from enlightenment/efl
eina/prefix: ignore magic files when running in tree
Summary: this just can't work. @fix Depends on D8951 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8952
This commit is contained in:
parent
655c816539
commit
9c2547db0c
|
@ -507,7 +507,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix,
|
|||
datadir = tmp;
|
||||
}
|
||||
}
|
||||
if (magicsharefile)
|
||||
if (magicsharefile && (!getenv("EFL_RUN_IN_TREE")))
|
||||
{
|
||||
magic = alloca(strlen(magicsharefile) + 1);
|
||||
strcpy(magic, magicsharefile);
|
||||
|
|
Loading…
Reference in New Issue