eolian: fix to pass make check on windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
michelle legrand 2015-01-30 10:49:53 +01:00 committed by Cedric BAIL
parent 1d28bcdcf1
commit 9431cde70e
1 changed files with 6 additions and 0 deletions

View File

@ -72,9 +72,15 @@ _eolian_gen_execute(const char *eo_filename, const char *options, const char *ou
if (getenv("EFL_RUN_IN_TREE"))
{
#ifdef _WIN32
snprintf(eolian_gen_path, sizeof(eolian_gen_path),
"%s/src/bin/eolian/eolian_gen.exe",
PACKAGE_BUILD_DIR);
#else
snprintf(eolian_gen_path, sizeof(eolian_gen_path),
"%s/src/bin/eolian/eolian_gen",
PACKAGE_BUILD_DIR);
#endif
}
if (eolian_gen_path[0] == '\0')
return -1;