summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_prefix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_prefix.c')
-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);