Skip to content

Commit

Permalink
Merge pull request #4 from chrisekelley/master
Browse files Browse the repository at this point in the history
adding libnode for armeabi-v7a, compiled via termux
  • Loading branch information
chrisekelley committed Aug 28, 2017
2 parents 86c93fd + cca26fb commit bb89690
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
<source-file src="src/android/libs/armeabi/libnode.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/armeabi/libc++_shared.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/armeabi/libnative-lib.so" target-dir="libs/arm64-v8a" />
<source-file src="src/android/libs/armeabi-v7a/libnode.so.57" target-dir="libs/armeabi-v7a" />
</platform>
</plugin>
2 changes: 2 additions & 0 deletions src/android/com/mafintosh/nodeonandroid/NodeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,9 @@ public void onDestroy() {
private native void startNode(String... app);

static {
Log.d(TAG, "loading node lib: ");
System.loadLibrary("node");
Log.d(TAG, "loading native-lib: ");
System.loadLibrary("native-lib");
}

Expand Down
Binary file added src/android/libs/armeabi-v7a/libnode.so.57
Binary file not shown.

0 comments on commit bb89690

Please sign in to comment.