Skip to content

Commit

Permalink
fix: Fix openssl dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Sep 29, 2023
1 parent 2314f1b commit 9487ebe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ env:
DEBUG: "napi:*"
OPENSSL_DIR: /usr/local/Cellar/[email protected]/1.1.1w
SASL2_DIR: /usr/local/Cellar/cyrus-sasl/2.1.28_2
LDFLAGS: "-L/usr/local/Cellar/[email protected]/1.1.1w/lib -L/usr/local/Cellar/cyrus-sasl/2.1.28_2/lib"
CPPFLAGS: "-I/usr/local/Cellar/[email protected]/1.1.1w/include -I/usr/local/Cellar/cyrus-sasl/2.1.28_2/include"
jobs:
npm:
strategy:
Expand All @@ -31,7 +33,7 @@ jobs:
EOT
echo "~/.cargo/config"
cat ~/.cargo/config
brew install [email protected]
echo ""
echo 'find $(brew --prefix) -name "ssl3.h"'
find $(brew --prefix) -name "ssl3.h"
echo ""
Expand All @@ -41,6 +43,11 @@ jobs:
echo ""
echo 'find $(brew --prefix) -name "sasl.h"'
find $(brew --prefix) -name "sasl.h"
echo ""
ls -lah /usr/local/opt
echo "ls -l LDFLAGS"
ls -lah /usr/local/Cellar/[email protected]/1.1.1w/lib
ls -lah /usr/local/Cellar/cyrus-sasl/2.1.28_2/lib
buildCommand: npm run build -- --target aarch64-apple-darwin

# - host: windows-latest
Expand Down

0 comments on commit 9487ebe

Please sign in to comment.