Skip to content

Commit e3e1e6d

Browse files
authored
[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 root-project#21947
1 parent 20705fe commit e3e1e6d

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)