Skip to content

Commit 1a66e41

Browse files
committed
fix: link openssl statically on linux
1 parent 8c4dfb5 commit 1a66e41

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
CXX: clang++
6060
npm_config_clang: 1
6161
GYP_DEFINES: use_obsolete_asm=true
62+
NODEGIT_OPENSSL_STATIC_LINK: 1
6263
run: npm ci --arch=x64 --runtime=electron --target=${{ matrix.version.electron }} --target_arch=x64 --disturl=https://electronjs.org/headers --build_from_source=true
6364

6465
- name: Deploy
@@ -87,6 +88,7 @@ jobs:
8788
CFLAGS: -target arm64-apple-macos11
8889
npm_config_clang: 1
8990
GYP_DEFINES: use_obsolete_asm=true
91+
NODEGIT_OPENSSL_STATIC_LINK: 1
9092
run: npm ci --arch=arm64 --runtime=electron --target=${{ matrix.version.electron }} --target_arch=arm64 --disturl=https://electronjs.org/headers --build_from_source=true
9193

9294
- name: Deploy (macos M1)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@git-glint/nodegit",
33
"description": "Node.js libgit2 asynchronous native bindings",
4-
"version": "0.28.0-alpha.100",
4+
"version": "0.28.0-alpha.101",
55
"homepage": "http://nodegit.org",
66
"keywords": [
77
"libgit2",

0 commit comments

Comments
 (0)