Do not add LIBDL to SUDO_LIBS or SUDOERS_LIBS in configure, do it

in Makefile.in so we can make it last.  Fixes a linking problem on
Ubuntu precise.
This commit is contained in:
Todd C. Miller
2013-11-26 07:15:55 -07:00
parent 94ad47ff98
commit 4247c1741b
4 changed files with 7 additions and 21 deletions

View File

@@ -35,7 +35,7 @@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
# Libraries
LT_LIBS = $(top_builddir)/common/libcommon.la $(LIBOBJDIR)libreplace.la
LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS)
LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ @LIBINTL@ $(LT_LIBS) @LIBDL@
# C preprocessor flags
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@