Commit ab26b0d8e2 for openssl.org
commit ab26b0d8e273cdc68ad1877b28ba222a4ef50de1
Author: Richard Levitte <levitte@openssl.foundation>
Date: Tue Sep 1 16:55:38 2026 +0200
build.info: fix build tree applink source path
The build tree builddata.pm declares APPLINKDIR relative to the
build directory, but ms/applink.c only exists in the source tree.
With an out-of-source build, the exported OpenSSLConfig.cmake
therefore points OPENSSL_APPLINK_SOURCE at a file that doesn't
exist, and CMake consumers fail at generate time with "Cannot find
source file".
Declare APPLINKDIR in the source tree, following the pattern of
the source tree INCLUDEDIR.
Assisted-by: Pi:moonshotai/kimi-k3
Signed-off-by: Richard Levitte <levitte@openssl.foundation>
Reviewed-by: Andrew Dinh <andrewd@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Sat Nov 14 17:36:40 2026
Merged-from: https://github.com/openssl/openssl/pull/32442
diff --git a/build.info b/build.info
index 337c44c60b..eedc3c4d71 100644
--- a/build.info
+++ b/build.info
@@ -584,7 +584,7 @@ DEPEND[openssl.pc]=libcrypto.pc libssl.pc
GENERATE[builddata.pm]=util/mkinstallvars.pl \
COMMENT="This file should be used when building against this OpenSSL build, and should never be installed" \
- PREFIX=. BINDIR=apps APPLINKDIR=ms \
+ PREFIX=. BINDIR=apps "APPLINKDIR=$(SRCDIR)/ms" \
LIBDIR= INCLUDEDIR=include "INCLUDEDIR=$(SRCDIR)/include" \
MODULESDIR=providers \
libdir= CMAKECONFIGDIR= PKGCONFIGDIR= \