From ceb1f6eae6a47cf96b5a7e04cea1a63de8d28c86 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 25 Jul 2014 14:08:50 -0600 Subject: [PATCH] Use shlib_enable instead of soext when determining whether to install the library. --- lib/util/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1