summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichelle legrand <michelle.legrand@openwide.fr>2015-02-03 10:15:15 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-11 17:03:37 +0100
commitbbba9198dbd35dfa67f8a42fe2d16f144abb7181 (patch)
tree8d4ef1d8044971cbd21006deba8fff929eb044d3 /src
parent957962476599d99ce2d47257388afd36b342a235 (diff)
eolian: add right extension to eolian_gen if we are on Windows
In previous version of this commit we checked if the _WIN32 macro was defined. But now I am using EXEEXT from autotools to get eolian_gen extension. @fix
Diffstat (limited to 'src')
-rw-r--r--src/tests/eolian/eolian_generation.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/tests/eolian/eolian_generation.c b/src/tests/eolian/eolian_generation.c
index f3ccc71a6e..40ddb74567 100644
--- a/src/tests/eolian/eolian_generation.c
+++ b/src/tests/eolian/eolian_generation.c
@@ -72,15 +72,9 @@ _eolian_gen_execute(const char *eo_filename, const char *options, const char *ou
72 72
73 if (getenv("EFL_RUN_IN_TREE")) 73 if (getenv("EFL_RUN_IN_TREE"))
74 { 74 {
75#ifdef _WIN32
76 snprintf(eolian_gen_path, sizeof(eolian_gen_path), 75 snprintf(eolian_gen_path, sizeof(eolian_gen_path),
77 "%s/src/bin/eolian/eolian_gen.exe", 76 "%s/src/bin/eolian/eolian_gen%s",
78 PACKAGE_BUILD_DIR); 77 PACKAGE_BUILD_DIR, EXEEXT);
79#else
80 snprintf(eolian_gen_path, sizeof(eolian_gen_path),
81 "%s/src/bin/eolian/eolian_gen",
82 PACKAGE_BUILD_DIR);
83#endif
84 } 78 }
85 if (eolian_gen_path[0] == '\0') 79 if (eolian_gen_path[0] == '\0')
86 return -1; 80 return -1;