diff options
author | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | 2017-02-03 11:49:38 -0200 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@profusion.mobi> | 2017-02-03 12:36:38 -0200 |
commit | 8dc853f2300ea70a9116325db773da22c6343c3c (patch) | |
tree | 841bdd4af4acac518732cd0c189de991fa4ffd73 /src/bin/embryo | |
parent | 75dc1b3fd711afa26f69f8244b64d2df9628fae4 (diff) | |
download | efl-8dc853f2300ea70a9116325db773da22c6343c3c.tar.gz |
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.c | 2 |
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, int i, stack_size; size_t len; +#ifdef NEED_RUN_IN_TREE str[0] = '\0'; if (getenv("EFL_RUN_IN_TREE")) { @@ -582,6 +583,7 @@ parseoptions(int argc, char **argv, char *iname, char *oname, } if (str[0] == '\0') +#endif snprintf(str, sizeof(str), "%s/include/", e_prefix_data_get()); /* use embryo include dir always */ |