Skip to content

Commit 016fe3e

Browse files
committed
fix: use pkg-config to find libsodium
1 parent e2dedde commit 016fe3e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
114114
- name: Install Dependencies and Build
115115
if: ${{ !matrix.docker }}
116-
run: pnpm install --verbose
116+
run: pnpm install
117117

118118
- name: Prebuild
119119
if: ${{ !matrix.docker }}

binding.gyp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
],
4747

4848
'include_dirs': [
49-
"vendor",
5049
'<(module_root_dir)/build/libzmq/include',
5150
"<!@(node -p \"require('node-addon-api').include\")"
5251
],
@@ -83,7 +82,7 @@
8382
['OS == "mac"', {
8483
'libraries': [
8584
'<(module_root_dir)/build/libzmq/lib/libzmq.a',
86-
'-lsodium',
85+
"<!@(pkg-config libsodium --libs)",
8786
],
8887
}],
8988

0 commit comments

Comments
 (0)