Skip to content

Commit dcc8e75

Browse files
ferdymercurydpiparo
authored andcommitted
[openssl] builtin: destination of include files was not correct
Compilation with builtin_openssl probably just worked fine because it picked system-wide openssl headers rather than the builtin ones. Found out while investigating failures in #21947 (cherry picked from commit 967a2f2)
1 parent 81191b6 commit dcc8e75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

builtins/openssl/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ endif()
3939

4040
ExternalProject_Add(OPENSSL
4141
URL ${OPENSSL_URL} URL_HASH ${OPENSSL_URLHASH}
42-
CONFIGURE_COMMAND ${OPENSSL_CONFIG_CMD} no-shared --prefix=<INSTALL_DIR>
42+
INSTALL_DIR ${OPENSSL_PREFIX}
43+
CONFIGURE_COMMAND ${OPENSSL_CONFIG_CMD} no-shared --prefix=<INSTALL_DIR> --openssldir=<INSTALL_DIR>
4344
BUILD_COMMAND make -j1 CC=${CMAKE_C_COMPILER}\ -fPIC\ ${OSX_SYSROOT}
4445
INSTALL_COMMAND make install_sw
4546
BUILD_IN_SOURCE 1

0 commit comments

Comments
 (0)