]> granicus.if.org Git - sudo/commitdiff
Fix sudo when --disable-shared configure option was specified.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jul 2014 23:16:12 +0000 (17:16 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jul 2014 23:16:12 +0000 (17:16 -0600)
configure.ac

index 1c7ec2731bcd7fe1b12ef2d58988865c9170b6a4..240e69523e8216a23cc3c229bb515560ccfc6060 100644 (file)
@@ -3457,6 +3457,7 @@ case "$lt_cv_dlopen" in
            AC_MSG_ERROR(["dlopen present but libtool doesn't appear to support your platform."])
        fi
        # Preload sudoers module symbols
+       AC_DEFINE(STATIC_SUDOERS_PLUGIN)
        SUDO_OBJS="${SUDO_OBJS} preload.o"
        STATIC_SUDOERS="\$(top_builddir)/plugins/sudoers/sudoers.la"
        LT_STATIC=""