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:
Mike Blumenkrantz 2019-05-29 09:16:35 -04:00
parent 655c816539
commit 9c2547db0c
1 changed files with 1 additions and 1 deletions

View File

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