Skip to content

Commit 7f863d1

Browse files
committed
don't remove dir, just don't build tests
1 parent d1041c5 commit 7f863d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/linux/library/openssl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public function build(): void
6262
"{$zlib_extra}" .
6363
'enable-pie ' .
6464
'no-legacy ' .
65+
'no-tests ' .
6566
"linux-{$arch}"
6667
)
6768
->exec('make clean')
@@ -80,6 +81,5 @@ public function build(): void
8081
}
8182
FileSystem::replaceFileRegex(BUILD_LIB_PATH . '/pkgconfig/libcrypto.pc', '/Libs.private:.*/m', 'Requires.private: zlib');
8283
FileSystem::replaceFileRegex(BUILD_LIB_PATH . '/cmake/OpenSSL/OpenSSLConfig.cmake', '/set\(OPENSSL_LIBCRYPTO_DEPENDENCIES .*\)/m', 'set(OPENSSL_LIBCRYPTO_DEPENDENCIES "${OPENSSL_LIBRARY_DIR}/libz.a")');
83-
FileSystem::removeDir($this->source_dir . '/test');
8484
}
8585
}

0 commit comments

Comments
 (0)