diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-03 14:11:12 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-04 00:24:58 +0200 |
commit | 68cd4e3f993cf16adf0904a85f5b477a0094c1cf (patch) | |
tree | 2def8fa311974628205b77011302624867e808b3 /Configurations/unix-Makefile.tmpl | |
parent | 51f6d88420f9289e8b3b395a709e1a0aedc8e163 (diff) | |
download | openssl-68cd4e3f993cf16adf0904a85f5b477a0094c1cf.tar.gz |
Makefile et al template: only modify static library with new object files
Previously, we updated the static libraries (libcrypto.a on Unix,
libcrypto.lib on Windows) with all the object files, regardless of if
they were rebuilt or not. With this change, we only update them with
the object files were rebuilt.
NOTE: this does not apply on VMS, as the expansion of $? may be too
large for a command line.
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configurations/unix-Makefile.tmpl')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 5b9a23fd6d..8da9a4cf79 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -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 } |