Fix "number of CPU cores is detected on FreeBSD" test failing in MacOS

They've added OpenSSL to stock CI image
This commit is contained in:
Ivan Pozdeev 2023-07-23 22:56:20 +03:00
parent 8aabba9485
commit 10cdb60607

View File

@ -1420,7 +1420,7 @@ use_freebsd_pkg() {
# check if FreeBSD
if [ "FreeBSD" = "$(uname -s)" ]; then
# use openssl if installed from Ports Collection
if [ -f /usr/local/include/openssl/ssl.h ]; then
if pkg info -e openssl; then
package_option python configure --with-openssl="/usr/local"
fi