]> granicus.if.org Git - sudo/commitdiff
Fix install-plugin when shared objects are unsupported or disabled.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Nov 2011 21:45:52 +0000 (16:45 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 17 Nov 2011 21:45:52 +0000 (16:45 -0500)
plugins/sudoers/Makefile.in

index abd2c12360df2b413df13664b35532567ebe4221..9332d8810d61a51fc00ce86e5af984330922df84 100644 (file)
@@ -245,7 +245,9 @@ install-doc: install-dirs
        @LDAP@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0555 $(srcdir)/sudoers2ldif $(DESTDIR)$(docdir)
 
 install-plugin: sudoers.la install-dirs
-       $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 .libs/sudoers$(soext) $(DESTDIR)$(plugindir)
+       if [ X"$(soext)" != X"" ]; then \
+           $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 0755 .libs/sudoers$(soext) $(DESTDIR)$(plugindir); \
+       fi
 
 install-sudoers: install-dirs
        $(INSTALL) -d -O $(sudoers_uid) -G $(sudoers_gid) -M 0750 \