From: Todd C. Miller Date: Mon, 11 Oct 2010 21:40:23 +0000 (-0400) Subject: sudo binary depends on the libtool-generated libs X-Git-Tag: SUDO_1_8_0~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=298d0cbe2d16107777b570c40c0fae3d9fd0f4d1;p=sudo sudo binary depends on the libtool-generated libs --- diff --git a/src/Makefile.in b/src/Makefile.in index 91c61cc0a..cb4692d11 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -36,8 +36,8 @@ LIBTOOL = @LIBTOOL@ @LT_STATIC@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c # Libraries -LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ \ - $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la +LT_LIBS = $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la +LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ $(LT_LIBS) # C preprocessor flags CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I. @CPPFLAGS@ @@ -94,7 +94,7 @@ all: $(PROGS) .c.lo: $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $< -sudo: $(OBJS) +sudo: $(OBJS) $(LT_LIBS) $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) -static-libtool-libs libsudo_noexec.la: sudo_noexec.lo