Skip to content

Commit

Permalink
Add android_ndk_path to gyp files
Browse files Browse the repository at this point in the history
To fix "Undefined variable android_ndk_path" error upon build. The
fix is borrowed from termux/termux-packages#20717.

Category: fix
  • Loading branch information
vweevers committed Oct 20, 2024
1 parent 7e7de21 commit 383d81f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
'openssl_fips': ''
'openssl_fips': '',
'android_ndk_path': ''
},
"targets": [{
"target_name": "classic_level",
Expand Down
3 changes: 2 additions & 1 deletion deps/leveldb/leveldb.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
'openssl_fips': ''
'openssl_fips': '',
'android_ndk_path': ''
},
"targets": [{
"target_name": "leveldb",
Expand Down
3 changes: 2 additions & 1 deletion deps/snappy/snappy.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
'openssl_fips': ''
'openssl_fips': '',
'android_ndk_path': ''
},
"targets": [{
"variables": {
Expand Down

0 comments on commit 383d81f

Please sign in to comment.