Use $? instead of S^ when invoking ar.
authordrepper <drepper>
Tue, 31 Mar 1998 22:11:16 +0000 (22:11 +0000)
committerdrepper <drepper>
Tue, 31 Mar 1998 22:11:16 +0000 (22:11 +0000)
Makerules

index 6c0af11..c1b8a98 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -576,7 +576,7 @@ define do-ar
 topdir=`cd $(..).; pwd`; \
 $(patsubst %/,cd %;,$(objpfx)) \
 $(SHELL) $$topdir/autolock.sh ${O%-lib}.lck $(AR) $(CREATE_ARFLAGS) ${O%-lib} \
-                                                 $(patsubst $(objpfx)%,%,$^)
+                                                 $(patsubst $(objpfx)%,%,$?)
 rm -f $@
 touch $@
 endef