]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix util/mkinstallvars.pl to treat LIBDIR and libdir correctly
authorRichard Levitte <levitte@openssl.org>
Sat, 3 Jan 2026 12:19:49 +0000 (13:19 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 8 Jan 2026 11:30:24 +0000 (12:30 +0100)
commitaa4b47483f41ed3889132f47334626d80a285f4e
treeae13847c3cc296776b217c86024ce54e5b2c9969
parent48b788cad3e66b51b48a88f44881bbd4b865bad8
Fix util/mkinstallvars.pl to treat LIBDIR and libdir correctly

OpenSSL's build file (Makefile) handles library directories via two
variables, 'LIBDIR' and 'libdir', where the former is empty when the
path given through ./Configure's '--libdir' is absolute.

This was forgotten when treating the resulting values in,
util/mkinstallvars.pl, which got libdir in exporters/libcrypto.pc
to not be quite right if .Configure was called with a '--libdir'
with an absolute path.

The fix turns out to be quite easy.

Resolves: https://github.com/openssl/openssl/issues/28779

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29540)
util/mkinstallvars.pl