Skip to content

Commit

Permalink
Merge pull request #19 from LeiCoin-official/leicoin-pos-v2
Browse files Browse the repository at this point in the history
update
  • Loading branch information
LeiCraft authored Aug 28, 2024
2 parents a9b4f70 + 594fbcd commit adf4abe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions patches/classic-level+1.4.1.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/classic-level/binding.js b/node_modules/classic-level/binding.js
index ffd9386..b0ffd0e 100644
index ffd9386..6a0f97b 100644
--- a/node_modules/classic-level/binding.js
+++ b/node_modules/classic-level/binding.js
@@ -1 +1,61 @@
Expand All @@ -17,7 +17,7 @@ index ffd9386..b0ffd0e 100644
+ )
+const arch = process.env.npm_config_arch || os.arch()
+const platform = process.env.npm_config_platform || os.platform()
+const libc = process.env.LIBC || ((isAlpine && isAlpine(platform)) ? 'musl' : 'glibc')
+const libc = process.env.LIBC || ((typeof isAlpine === "function" && isAlpine(platform)) ? 'musl' : 'glibc')
+const armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''
+
+const bindings = {
Expand Down Expand Up @@ -65,4 +65,3 @@ index ffd9386..b0ffd0e 100644
+}
+
+module.exports = getBinding();
\ No newline at end of file

0 comments on commit adf4abe

Please sign in to comment.