From: Todd C. Miller Date: Fri, 25 Jul 2014 20:08:50 +0000 (-0600) Subject: Use shlib_enable instead of soext when determining whether to install X-Git-Tag: SUDO_1_8_11^2~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ceb1f6eae6a47cf96b5a7e04cea1a63de8d28c86;p=sudo Use shlib_enable instead of soext when determining whether to install the library. --- diff --git a/lib/util/Makefile.in b/lib/util/Makefile.in index 8a5786adc..872e511ff 100644 --- a/lib/util/Makefile.in +++ b/lib/util/Makefile.in @@ -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