aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ethumb_Client.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_Ethumb_Client.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_Ethumb_Client.am')
-rw-r--r--src/Makefile_Ethumb_Client.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile_Ethumb_Client.am b/src/Makefile_Ethumb_Client.am
index e8afe297f9..41900c22c6 100644
--- a/src/Makefile_Ethumb_Client.am
+++ b/src/Makefile_Ethumb_Client.am
@@ -17,6 +17,12 @@ lib_ethumb_client_libethumb_client_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
### Binary
+if HAVE_WIN32
+USE_ETHUMB_CLIENT_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_ETHUMB_CLIENT_LIBS@
+else
+USE_ETHUMB_CLIENT_BIN_LIBS = @USE_ETHUMB_CLIENT_LIBS@
+endif
+
bin_PROGRAMS += \
bin/ethumb_client/ethumbd \
bin/ethumb_client/ethumbd_client
@@ -34,12 +40,12 @@ bin_ethumb_client_ethumbd_CPPFLAGS = \
-DPACKAGE_DATA_DIR=\"$(datadir)/ethumb_client\" \
-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
@ETHUMB_CLIENT_CFLAGS@
-bin_ethumb_client_ethumbd_LDADD = @USE_ETHUMB_CLIENT_LIBS@
+bin_ethumb_client_ethumbd_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_DEPENDENCIES = @USE_ETHUMB_CLIENT_INTERNAL_LIBS@
bin_ethumb_client_ethumbd_client_SOURCES = bin/ethumb_client/ethumbd_client.c
bin_ethumb_client_ethumbd_client_CPPFLAGS = @ETHUMB_CLIENT_CFLAGS@
-bin_ethumb_client_ethumbd_client_LDADD = @USE_ETHUMB_CLIENT_LIBS@
+bin_ethumb_client_ethumbd_client_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_client_DEPENDENCIES = @USE_ETHUMB_CLIENT_INTERNAL_LIBS@
# slave does not use dbus, it's a simple ethumb application
@@ -47,5 +53,5 @@ bin_ethumb_client_ethumbd_slave_SOURCES = \
bin/ethumb_client/ethumbd_private.h \
bin/ethumb_client/ethumbd_slave.c
bin_ethumb_client_ethumbd_slave_CPPFLAGS = @ETHUMB_CFLAGS@
-bin_ethumb_client_ethumbd_slave_LDADD = @USE_ETHUMB_LIBS@
+bin_ethumb_client_ethumbd_slave_LDADD = $(USE_ETHUMB_CLIENT_BIN_LIBS)
bin_ethumb_client_ethumbd_slave_DEPENDENCIES = @USE_ETHUMB_INTERNAL_LIBS@