diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/display.c | 2 |
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); } |