Skip to content

Commit

Permalink
Support latest bare-dev (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager authored Feb 9, 2024
1 parent b38cb7c commit 799e7ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ endif()
add_bare_module(sodium_native)

target_sources(
sodium_native
${sodium_native}
PRIVATE
binding.c
macros.h
Expand All @@ -394,7 +394,7 @@ target_sources(
)

target_link_libraries(
sodium_native
${sodium_native}
PUBLIC
sodium
)
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"vendor/libsodium/src/**/*.h.in",
"vendor/libsodium/src/**/*.S"
],
"addon": {
"target": "sodium_native"
},
"addon": true,
"dependencies": {
"node-gyp-build": "^4.6.0"
},
Expand Down

0 comments on commit 799e7ee

Please sign in to comment.