summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Drm.am
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-02-13 10:03:05 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2015-02-13 10:12:25 +0100
commitecceca8566cd5a93cd964bfc0ff8d8859e74c0f0 (patch)
treedcc0aa8a40ce6aaf4e8ebb670c327f3f7fe9bbb7 /src/Makefile_Ecore_Drm.am
parent681573c555f5c4edcb990789f8b574e5f5efae52 (diff)
ecore/drm: Compile ecore_drm_logind.c without condition
Right now we excluded the file from the build if we did not find system-logind. We are using some symbols from this file without any condition though: lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_open_no_pending' lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_connect' lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_disconnect' lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_close' This comes from a Gentoo machine without systemd. As the logind relevant parts are ifdef'ed in the code itself it is safe to build this file in all cases and thus avoid the undefined references. @fix
Diffstat (limited to 'src/Makefile_Ecore_Drm.am')
-rw-r--r--src/Makefile_Ecore_Drm.am5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile_Ecore_Drm.am b/src/Makefile_Ecore_Drm.am
index 61a15556b9..e331e7aeea 100644
--- a/src/Makefile_Ecore_Drm.am
+++ b/src/Makefile_Ecore_Drm.am
@@ -18,13 +18,10 @@ lib/ecore_drm/ecore_drm_tty.c \
18lib/ecore_drm/ecore_drm_device.c \ 18lib/ecore_drm/ecore_drm_device.c \
19lib/ecore_drm/ecore_drm_launcher.c \ 19lib/ecore_drm/ecore_drm_launcher.c \
20lib/ecore_drm/ecore_drm_dbus.c \ 20lib/ecore_drm/ecore_drm_dbus.c \
21lib/ecore_drm/ecore_drm_logind.c \
21lib/ecore_drm/ecore_drm.c \ 22lib/ecore_drm/ecore_drm.c \
22lib/ecore_drm/ecore_drm_private.h 23lib/ecore_drm/ecore_drm_private.h
23 24
24if HAVE_SYSTEMD_LOGIN
25lib_ecore_drm_libecore_drm_la_SOURCES += \
26lib/ecore_drm/ecore_drm_logind.c
27endif
28 25
29lib_ecore_drm_libecore_drm_la_CPPFLAGS = \ 26lib_ecore_drm_libecore_drm_la_CPPFLAGS = \
30 -I$(top_builddir)/src/lib/efl \ 27 -I$(top_builddir)/src/lib/efl \