From cdd1351989cc0e7135a021be35baf7bafd401126 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 21 Oct 2020 15:55:45 +0300 Subject: [PATCH] change to static path --- builders/macos-python-builder.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builders/macos-python-builder.psm1 b/builders/macos-python-builder.psm1 index 4bd1691..a9568e7 100644 --- a/builders/macos-python-builder.psm1 +++ b/builders/macos-python-builder.psm1 @@ -41,8 +41,8 @@ class macOSPythonBuilder : NixPythonBuilder { ### Link to documentation (https://cpython-devguide.readthedocs.io/setup/#build-dependencies) Write-Host "openssl path: $(brew --prefix openssl)" if ($this.Version -lt "3.7.0") { - $env:LDFLAGS = "-L$(brew --prefix openssl)/lib" - $env:CFLAGS = "-I$(brew --prefix openssl)/include" + $env:LDFLAGS = "-L/usr/local/opt/openssl@1.1/lib" #"-L$(brew --prefix openssl)/lib" + $env:CFLAGS = "-I/usr/local/opt/openssl@1.1/include" #"-I$(brew --prefix openssl)/include" } else { $configureString += " --with-openssl=/usr/local/opt/openssl@1.1" }