From 70d00180428cb83fb491ac17e39efce268894e9a Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Tue, 17 Jan 2012 16:34:22 +1100 Subject: Install lightdm-guest-session-wrapper into PKGLIBEXEC dir --- src/Makefile.am | 3 +-- src/display.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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); } -- cgit v1.2.1