aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efreet.am
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-15 23:46:52 +0100
committerCedric Bail <cedric.bail@free.fr>2013-03-16 16:33:57 +0900
commit6fdaef02593094cea3fa51f048534a6cca01af19 (patch)
treeea2ba86b0429174300c7464b647155a708c7b420 /src/Makefile_Efreet.am
parentecore_evas: follow naming of other modules for Windows to. (diff)
downloadefl-6fdaef02593094cea3fa51f048534a6cca01af19.tar.gz
efl: fix compilation on Windows when no Evil library is installed.
Diffstat (limited to 'src/Makefile_Efreet.am')
-rw-r--r--src/Makefile_Efreet.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile_Efreet.am b/src/Makefile_Efreet.am
index 0cbdca902a..e608a46da4 100644
--- a/src/Makefile_Efreet.am
+++ b/src/Makefile_Efreet.am
@@ -67,6 +67,12 @@ lib_efreet_libefreet_trash_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
### Binary
+if HAVE_WIN32
+USE_EFREET_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EFREET_LIBS@
+else
+USE_EFREET_BIN_LIBS = @USE_EFREET_LIBS@
+endif
+
bin_PROGRAMS += bin/efreet/efreetd
bin_efreet_efreetd_SOURCES = \
@@ -78,7 +84,7 @@ bin/efreet/efreetd_cache.h \
bin/efreet/efreetd_cache.c
bin_efreet_efreetd_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
-bin_efreet_efreetd_LDADD = @USE_EFREET_LIBS@
+bin_efreet_efreetd_LDADD = $(USE_EFREET_BIN_LIBS)
bin_efreet_efreetd_DEPENDENCIES = @USE_EFREET_INTERNAL_LIBS@
efreetinternal_bindir=$(libdir)/efreet/$(MODULE_ARCH)
@@ -87,12 +93,12 @@ bin/efreet/efreet_desktop_cache_create \
bin/efreet/efreet_icon_cache_create
bin_efreet_efreet_desktop_cache_create_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
-bin_efreet_efreet_desktop_cache_create_LDADD = @USE_EFREET_LIBS@
+bin_efreet_efreet_desktop_cache_create_LDADD = $(USE_EFREET_BIN_LIBS)
bin_efreet_efreet_desktop_cache_create_DEPENDENCIES = @USE_EFREET_INTERNAL_LIBS@
bin_efreet_efreet_desktop_cache_create_SOURCES = bin/efreet/efreet_desktop_cache_create.c
bin_efreet_efreet_icon_cache_create_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS)
-bin_efreet_efreet_icon_cache_create_LDADD = @USE_EFREET_LIBS@
+bin_efreet_efreet_icon_cache_create_LDADD = $(USE_EFREET_BIN_LIBS)
bin_efreet_efreet_icon_cache_create_DEPENDENCIES = @USE_EFREET_INTERNAL_LIBS@
bin_efreet_efreet_icon_cache_create_SOURCES = bin/efreet/efreet_icon_cache_create.c