2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Add explicit rule to build sudo_noexec.lo

This commit is contained in:
Todd C. Miller
2005-02-06 02:21:18 +00:00
parent c20f64d2f1
commit 550e8f5a50

View File

@@ -184,6 +184,9 @@ visudo: $(VISUDO_OBJS) $(LIB_OBJS)
testsudoers: $(TEST_OBJS) $(LIB_OBJS)
$(CC) -o $@ $(TEST_OBJS) $(LIB_OBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
sudo_noexec.lo: $(srcdir)/sudo_noexec.c
$(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c
sudo_noexec.la: sudo_noexec.lo
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)