Makefile et al template: only modify static library with new object files
[openssl.git] / Configurations / unix-Makefile.tmpl
index 5b9a23fd6da401ce65ed62f9c3576c4220c92615..8da9a4cf7921bb1686b22c1816ba44754480fe62 100644 (file)
@@ -981,7 +981,7 @@ EOF
       my $objs = join(" ", map { $_.$objext } @{$args{objs}});
       return <<"EOF";
 $lib$libext: $objs
-       \$(AR) \$\@ $objs
+       \$(AR) \$\@ \$\?
        \$(RANLIB) \$\@ || echo Never mind.
 EOF
   }