Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit fd28a88

Browse files
committed
[[ OpenSSL ]] Remove thread support from OpenSSL prebuilt library
This patch configures the prebuilt OpenSSL library to be compiled without support for the "CRYPTO_THREAD_*" functions, which are unused in the LiveCode engine. This resolves a missing symbol error ("pthread_atfork") when building the engine on Linux.
1 parent dbc148e commit fd28a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prebuilt/scripts/build-openssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function buildOpenSSL {
113113
CUSTOM_SPEC="livecode_${SPEC}"
114114

115115
OPENSSL_ARCH_SRC="${OPENSSL_SRC}-${PLATFORM_NAME}-${ARCH}"
116-
OPENSSL_ARCH_CONFIG="no-rc5 no-hw shared -DOPENSSL_NO_ASYNC=1 --prefix=${INSTALL_DIR}/${NAME} ${CUSTOM_SPEC} ${EXTRA_OPTIONS}"
116+
OPENSSL_ARCH_CONFIG="no-rc5 no-hw no-threads shared -DOPENSSL_NO_ASYNC=1 --prefix=${INSTALL_DIR}/${NAME} ${CUSTOM_SPEC} ${EXTRA_OPTIONS}"
117117

118118
# Copy the source to a target-specific directory
119119
if [ ! -d "${OPENSSL_ARCH_SRC}" ] ; then

0 commit comments

Comments
 (0)