From: Todd C. Miller Date: Thu, 18 Feb 2016 23:13:51 +0000 (-0700) Subject: src/load_plugins.c needs _PATH_SUDO_CONF so allow it to be overridden X-Git-Tag: SUDO_1_8_16^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42548a1b01ed57bf633dee03c796bdc1f6718be7;p=sudo src/load_plugins.c needs _PATH_SUDO_CONF so allow it to be overridden via the Makefile like other consumers of _PATH_SUDO_CONF. Bug #735 --- diff --git a/src/Makefile.in b/src/Makefile.in index fcd501937..6b1054662 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -41,7 +41,8 @@ LT_LIBS = $(top_builddir)/lib/util/libsudo_util.la LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ $(LT_LIBS) # C preprocessor defines -CPPDEFS = -DLOCALEDIR=\"$(localedir)\" +CPPDEFS = -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\" \ + -DLOCALEDIR=\"$(localedir)\" # C preprocessor flags CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) \