Link libcommon before libreplace since libcommon may use functions

only present in libreplace.
This commit is contained in:
Todd C. Miller
2010-05-27 17:48:17 -04:00
parent c4feed1ccd
commit 62f470a575
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ YACC = @YACC@
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
# Libraries # Libraries
LIBS = $(top_builddir)/@ac_config_libobj_dir@/libreplace.la $(top_builddir)/common/libcommon.la LIBS = $(top_builddir)/common/libcommon.la $(top_builddir)/@ac_config_libobj_dir@/libreplace.la
NET_LIBS = @NET_LIBS@ NET_LIBS = @NET_LIBS@
SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@ SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@
REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@ REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@

View File

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