summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 11:49:38 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 12:36:38 -0200
commit8dc853f2300ea70a9116325db773da22c6343c3c (patch)
tree841bdd4af4acac518732cd0c189de991fa4ffd73 /src/bin/embryo
parent75dc1b3fd711afa26f69f8244b64d2df9628fae4 (diff)
ifdef RUN_IN_TREE logic.
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
Diffstat (limited to 'src/bin/embryo')
-rw-r--r--src/bin/embryo/embryo_cc_sc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/embryo/embryo_cc_sc1.c b/src/bin/embryo/embryo_cc_sc1.c
index 0d94b249a7..2cacbe5bf9 100644
--- a/src/bin/embryo/embryo_cc_sc1.c
+++ b/src/bin/embryo/embryo_cc_sc1.c
@@ -572,6 +572,7 @@ parseoptions(int argc, char **argv, char *iname, char *oname,
572 int i, stack_size; 572 int i, stack_size;
573 size_t len; 573 size_t len;
574 574
575#ifdef NEED_RUN_IN_TREE
575 str[0] = '\0'; 576 str[0] = '\0';
576 if (getenv("EFL_RUN_IN_TREE")) 577 if (getenv("EFL_RUN_IN_TREE"))
577 { 578 {
@@ -582,6 +583,7 @@ parseoptions(int argc, char **argv, char *iname, char *oname,
582 } 583 }
583 584
584 if (str[0] == '\0') 585 if (str[0] == '\0')
586#endif
585 snprintf(str, sizeof(str), "%s/include/", e_prefix_data_get()); 587 snprintf(str, sizeof(str), "%s/include/", e_prefix_data_get());
586 588
587 /* use embryo include dir always */ 589 /* use embryo include dir always */