]> granicus.if.org Git - sudo/commitdiff
Use shlib_enable instead of soext when determining whether to install
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 25 Jul 2014 20:08:50 +0000 (14:08 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 25 Jul 2014 20:08:50 +0000 (14:08 -0600)
the library.

lib/util/Makefile.in

index 8a5786adced90c7d77fc52974b395f381284db77..872e511ff4d920a810a20b2bf2286b8a4341362c 100644 (file)
@@ -37,7 +37,7 @@ datarootdir = @datarootdir@
 localstatedir = @localstatedir@
 
 # File extension, mode and map file to use for shared libraries/objects
-soext = @SOEXT@
+shlib_enable = @SHLIB_ENABLE@
 shlib_mode = @SHLIB_MODE@
 shlib_exp = $(srcdir)/util.exp
 shlib_map = util.map
@@ -182,7 +182,7 @@ progname_test: $(PROGNAME_TEST_OBJS)
 pre-install:
 
 install: install-dirs
-       if [ X"$(soext)" != X"" ]; then \
+       if [ X"$(shlib_enable)" = X"yes" ]; then \
            INSTALL_BACKUP='~' $(LIBTOOL) --quiet --mode=install $(INSTALL) $(INSTALL_OWNER) libsudo_util.la $(DESTDIR)$(libexecdir)/sudo; \
        fi