]> granicus.if.org Git - sudo/commitdiff
libsudo_util depends on LT_DEP_LIBS even when building a static lib
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 10 Jun 2019 19:27:12 +0000 (13:27 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 10 Jun 2019 19:27:12 +0000 (13:27 -0600)
lib/util/Makefile.in

index 129e72b484aa787ed4a9fab07691ded961fc8aa1..9129c7499d748bfb87a220dbfd55ddbb7ad6df4d 100644 (file)
@@ -180,7 +180,7 @@ $(shlib_opt): $(shlib_exp)
 libsudo_util.la: $(LTOBJS) @LT_LDDEP@
        case "$(LT_LDFLAGS)" in \
        *-no-install*) \
-           $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LDFLAGS) $(LT_LDFLAGS) $(LTOBJS) @LIBINTL@ @LIBMD@ @LIBPTHREAD@ @LIBDL@ @LIBRT@;; \
+           $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LDFLAGS) $(LT_LDFLAGS) $(LTOBJS) @LT_DEP_LIBS@ @LIBINTL@ @LIBMD@ @LIBPTHREAD@ @LIBDL@ @LIBRT@;; \
        *) \
            $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LDFLAGS) $(ASAN_LDFLAGS) $(SSP_LDFLAGS) $(LT_LDFLAGS) $(LTOBJS) -version-info $(SHLIB_VERSION) -rpath $(libexecdir)/sudo @LT_DEP_LIBS@ @LIBINTL@ @LIBMD@ @LIBPTHREAD@ @LIBDL@ @LIBRT@;; \
        esac