summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:16:35 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:03 -0400
commit9c2547db0c8b905c1b5393bfffe0a6625e7774a9 (patch)
treeafea2ef57e49ea41bf97386c07ecadfe517c3d77
parent655c816539e4562bfedc9f2a0e72c50757a1b350 (diff)
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
-rw-r--r--src/lib/eina/eina_prefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_prefix.c b/src/lib/eina/eina_prefix.c
index 35b8cec0f6..56737adb50 100644
--- a/src/lib/eina/eina_prefix.c
+++ b/src/lib/eina/eina_prefix.c
@@ -507,7 +507,7 @@ eina_prefix_new(const char *argv0, void *symbol, const char *envprefix,
507 datadir = tmp; 507 datadir = tmp;
508 } 508 }
509 } 509 }
510 if (magicsharefile) 510 if (magicsharefile && (!getenv("EFL_RUN_IN_TREE")))
511 { 511 {
512 magic = alloca(strlen(magicsharefile) + 1); 512 magic = alloca(strlen(magicsharefile) + 1);
513 strcpy(magic, magicsharefile); 513 strcpy(magic, magicsharefile);