Link libcommon before libreplace since libcommon may use functions
only present in libreplace.
This commit is contained in:
@@ -44,7 +44,7 @@ YACC = @YACC@
|
||||
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
||||
|
||||
# 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@
|
||||
SUDOERS_LIBS = @SUDOERS_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS) @ZLIB@
|
||||
REPLAY_LIBS = @REPLAY_LIBS@ @ZLIB@
|
||||
|
@@ -37,7 +37,7 @@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
|
||||
|
||||
# Libraries
|
||||
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
|
||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I. @CPPFLAGS@
|
||||
|
Reference in New Issue
Block a user