From 7f863d182f80811792da2eac9edf4f43eaed7677 Mon Sep 17 00:00:00 2001 From: henderkes Date: Mon, 1 Dec 2025 17:10:56 +0100 Subject: [PATCH] don't remove dir, just don't build tests --- src/SPC/builder/linux/library/openssl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/linux/library/openssl.php b/src/SPC/builder/linux/library/openssl.php index 7a468197..a78b6a64 100644 --- a/src/SPC/builder/linux/library/openssl.php +++ b/src/SPC/builder/linux/library/openssl.php @@ -62,6 +62,7 @@ class openssl extends LinuxLibraryBase "{$zlib_extra}" . 'enable-pie ' . 'no-legacy ' . + 'no-tests ' . "linux-{$arch}" ) ->exec('make clean') @@ -80,6 +81,5 @@ class openssl extends LinuxLibraryBase } FileSystem::replaceFileRegex(BUILD_LIB_PATH . '/pkgconfig/libcrypto.pc', '/Libs.private:.*/m', 'Requires.private: zlib'); FileSystem::replaceFileRegex(BUILD_LIB_PATH . '/cmake/OpenSSL/OpenSSLConfig.cmake', '/set\(OPENSSL_LIBCRYPTO_DEPENDENCIES .*\)/m', 'set(OPENSSL_LIBCRYPTO_DEPENDENCIES "${OPENSSL_LIBRARY_DIR}/libz.a")'); - FileSystem::removeDir($this->source_dir . '/test'); } }