cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6cc1cbcba14e2e11c6d58d5691b047a45e5fbe46

commit 6cc1cbcba14e2e11c6d58d5691b047a45e5fbe46
Author: Cedric Bail <ced...@osg.samsung.com>
Date:   Fri Apr 22 11:48:25 2016 -0700

    elementary: attempt to fix Windows build.
---
 src/Makefile_Elementary.am | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/Makefile_Elementary.am b/src/Makefile_Elementary.am
index 4a1c73b..5d4c856 100644
--- a/src/Makefile_Elementary.am
+++ b/src/Makefile_Elementary.am
@@ -669,6 +669,13 @@ lib_elementary_libelementary_la_CPPFLAGS = \
 -DELEMENTARY_BUILD \
 @ELEMENTARY_CFLAGS@
 
+if HAVE_WINDOWS
+lib_elementary_libelementary_la_CPPFLAGS += \
+-I$(top_srcdir)/src/lib/evil \
+-I$(top_srcdir)/src/lib/evil/regex \
+-DPOSIX_MISTAKE
+endif
+
 EXTRA_DIST += \
        lib/elementary/elm_factory.h \
        lib/elementary/elm_factory.c \
@@ -867,6 +874,13 @@ bin_elementary_elm_prefs_cc_CPPFLAGS = \
 -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
 @ELEMENTARY_CFLAGS@
 
+if HAVE_WINDOWS
+bin_elementary_elm_prefs_cc_CPPFLAGS += \
+-I$(top_srcdir)/src/lib/evil \
+-I$(top_srcdir)/src/lib/evil/regex \
+-DPOSIX_MISTAKE
+endif
+
 if BUILD_QUICKLAUNCH
 bin_elementary_elementary_quicklaunch_SOURCES = bin/elementary/quicklaunch.c
 bin_elementary_elementary_quicklaunch_LDADD = @USE_ELEMENTARY_LIBS@
@@ -1007,6 +1021,14 @@ modules_elementary_prefs_module_la_CPPFLAGS = \
 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
 -DELEMENTARY_BUILD \
 @ELEMENTARY_CFLAGS@
+
+if HAVE_WINDOWS
+modules_elementary_prefs_module_la_CPPFLAGS += \
+-I$(top_srcdir)/src/lib/evil \
+-I$(top_srcdir)/src/lib/evil/regex \
+-DPOSIX_MISTAKE
+endif
+
 modules_elementary_prefs_module_la_LIBADD = @USE_ELEMENTARY_LIBS@
 modules_elementary_prefs_module_la_DEPENDENCIES = 
@USE_ELEMENTARY_INTERNAL_LIBS@
 modules_elementary_prefs_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@

-- 


Reply via email to