summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/tests/eolian/eolian_generation.c10
2 files changed, 3 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index b94f60d8e7..57c267a029 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,6 +223,7 @@ esac
223AC_SUBST([MODULE_ARCH]) 223AC_SUBST([MODULE_ARCH])
224AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"]) 224AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"])
225AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects]) 225AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects])
226AC_DEFINE_UNQUOTED([EXEEXT], ["${EXEEXT}"], [Suffix for binary objects])
226 227
227# TODO: move me to m4 file that setups the windows related variables 228# TODO: move me to m4 file that setups the windows related variables
228AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) 229AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
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;