[sudo-workers] [PATCH] sudoreplay: add missing build dep on timestr.lo

Mike Frysinger vapier at gentoo.org
Fri Oct 7 15:05:10 EDT 2011


# HG changeset patch
# User Mike Frysinger <vapier at gentoo.org>
# Date 1318009965 14400
# Node ID ecd3533cb7119007f93b8c38fe8b780f68abddc2
# Parent  019588bafdb312928612c0d23d818ada681282d9
sudoreplay: add missing build dep on timestr.lo

Otherwise, we might try to link the binary before timestr.c has
been compiled when building in parallel.

diff -r 019588bafdb3 -r ecd3533cb711 plugins/sudoers/Makefile.in
--- a/plugins/sudoers/Makefile.in	Tue Oct 04 12:32:05 2011 -0400
+++ b/plugins/sudoers/Makefile.in	Fri Oct 07 13:52:45 2011 -0400
@@ -167,7 +167,7 @@
 visudo: libparsesudoers.la $(VISUDO_OBJS) $(LT_LIBS)
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(VISUDO_OBJS) $(LDFLAGS) libparsesudoers.la $(LIBS) $(NET_LIBS)
 
-sudoreplay: $(REPLAY_OBJS) $(LT_LIBS)
+sudoreplay: $(REPLAY_OBJS) $(LT_LIBS) timestr.lo
 	$(LIBTOOL) --mode=link $(CC) -o $@ $(REPLAY_OBJS) $(LDFLAGS) timestr.lo $(REPLAY_LIBS) $(LIBS)
 
 testsudoers: libparsesudoers.la $(TEST_OBJS) $(LT_LIBS)



More information about the sudo-workers mailing list