]> git.ipfire.org Git - thirdparty/openssl.git/commit
Makefile: Avoid changing LIBDIR based on whether it already exists
authorjenda1 <lana.jan@gmail.com>
Tue, 20 Jul 2021 14:32:49 +0000 (16:32 +0200)
committerTomas Mraz <tomas@openssl.org>
Fri, 23 Jul 2021 07:08:28 +0000 (09:08 +0200)
commit74b7f339aa58af57c0e71b7efca66e6f2db5ae2e
tree1f22973a7add3839847f8c3c0f9d9c38a4f31722
parent40184c96103a388209939c1c19920971c05bb78c
Makefile: Avoid changing LIBDIR based on whether it already exists

unix-Makefile.tmpl checks if the target LIBDIR exists on the build
machine or not and based on the result modify the final LIBDIR.
This should be avoided, build results should not depend on the build
machine root filesystem layout. It makes the build results unstable.

The fix simply removes the dir existence test from the unix-Makefile.tmpl.

Fixes: openssl#16121
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16122)
Configurations/unix-Makefile.tmpl