summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-01-17 16:34:22 +1100
committerRobert Ancell <robert.ancell@canonical.com>2012-01-17 16:34:22 +1100
commit70d00180428cb83fb491ac17e39efce268894e9a (patch)
treefd7a9cd6b47bf1a015a933c88b224b433c3ca953 /src
parentc54d1368a3fe741e963880cb703a13fc7004be7c (diff)
downloadlightdm-70d00180428cb83fb491ac17e39efce268894e9a.tar.gz
Install lightdm-guest-session-wrapper into PKGLIBEXEC dir
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/display.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e782f953..b66f197e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -79,7 +79,6 @@ BUILT_SOURCES = \
lightdm_CFLAGS = \
$(LIGHTDM_CFLAGS) \
$(WARN_CFLAGS) \
- -DLIBEXEC_DIR=\"$(libexecdir)\" \
-DPKGLIBEXEC_DIR=\"$(pkglibexecdir)\" \
-DSBIN_DIR=\"$(sbindir)\" \
-DCONFIG_DIR=\"$(sysconfdir)/lightdm\" \
@@ -93,7 +92,7 @@ lightdm_LDADD = \
$(LIGHTDM_LIBS) \
-lpam
-libexec_PROGRAMS = lightdm-guest-session-wrapper
+pkglibexec_PROGRAMS = lightdm-guest-session-wrapper
lightdm_guest_session_wrapper_SOURCES = lightdm-guest-session-wrapper.c
diff --git a/src/display.c b/src/display.c
index c27b5cb5..dd12ec98 100644
--- a/src/display.c
+++ b/src/display.c
@@ -467,7 +467,7 @@ create_session (Display *display, PAMSession *authentication, const gchar *sessi
if (display->priv->autologin_guest)
{
gchar *t = command;
- command = g_strdup_printf (LIBEXEC_DIR "/lightdm-guest-session-wrapper %s", command);
+ command = g_strdup_printf (PKGLIBEXEC_DIR "/lightdm-guest-session-wrapper %s", command);
g_debug("Guest session, running session command through wrapper: %s", command);
g_free (t);
}