From 9d4745f71f2db4c8a5c9ddcf9b0208d6d239f97c Mon Sep 17 00:00:00 2001 From: vansangpfiev Date: Thu, 23 May 2024 18:02:38 +0700 Subject: [PATCH] f:m --- third-party/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index 34a9659..1ed3274 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -152,7 +152,7 @@ if (UNIX) # APPLE and LINUX else() set(PYTHON_INSTALL_CONFIG_HOST "") set(PYTHON_INSTALL_CONFIG_BUILD "") - set(PYTHON_INSTALL_CONFIG_SSL "--with-openssl=${THIRD_PARTY_INSTALL_PATH} --with-openssl-rpath=auto") + set(PYTHON_INSTALL_CONFIG_SSL "--with-openssl=${THIRD_PARTY_INSTALL_PATH} --with-openssl-rpath=${THIRD_PARTY_INSTALL_PATH}") set(CFS "CFLAGS=-I${THIRD_PARTY_INSTALL_PATH}/include") set(LDS "LDFLAGS=-L${THIRD_PARTY_INSTALL_PATH}/lib") endif() @@ -163,7 +163,7 @@ if (UNIX) # APPLE and LINUX URL https://www.python.org/ftp/python/3.10.4/Python-3.10.4.tgz PREFIX ${THIRD_PARTY_INSTALL_PATH} CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ${CFS} ${LDS} ./configure --prefix= --enable-optimizations --with-ensurepip=install --enable-shared ${PYTHON_INSTALL_CONFIG_HOST} ${PYTHON_INSTALL_CONFIG_BUILD} ${PYTHON_INSTALL_CONFIG_SSL} - BUILD_COMMAND make -j12 + BUILD_COMMAND ${CMAKE_COMMAND} -E env ${CFS} ${LDS} make -j12 INSTALL_COMMAND make install BUILD_IN_SOURCE 1 )