Skip to content

Commit

Permalink
chore(jni): use the phony name of librime-octagram
Browse files Browse the repository at this point in the history
  • Loading branch information
iovxw authored and Bambooin committed Jan 15, 2022
1 parent c08f104 commit 426546e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/jni/librime_jni/rime_jni.cc
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,12 @@ int registerNativeMethods(JNIEnv *env, const char * className, const JNINativeMe

extern void rime_require_module_lua();
extern void rime_require_module_charcode();
extern void rime_require_module_grammar(); // librime-octagram
extern void rime_require_module_octagram();
// librime is compiled as a static library, we have to link modules explicitly
static void declare_librime_module_dependencies() {
rime_require_module_lua();
rime_require_module_charcode();
rime_require_module_grammar();
rime_require_module_octagram();
}

jint JNI_OnLoad(JavaVM* vm, void* reserved)
Expand Down

0 comments on commit 426546e

Please sign in to comment.