From 387673bf9907afecea41610fb57605590d72c3e5 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 29 Apr 2025 15:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mpmaster/src/main/cpp/CMakeLists.txt | 4 ++-- mpmaster/src/main/cpp/mpmaster.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mpmaster/src/main/cpp/CMakeLists.txt b/mpmaster/src/main/cpp/CMakeLists.txt index 5de4b4be..8b6e427c 100644 --- a/mpmaster/src/main/cpp/CMakeLists.txt +++ b/mpmaster/src/main/cpp/CMakeLists.txt @@ -51,7 +51,7 @@ add_library( # Sets the name of the library. # Provides a relative path to your source file(s). mpmaster.cpp - + bspatch/bspatch.c ) # Searches for a specified prebuilt library and stores the path as a @@ -76,5 +76,5 @@ target_link_libraries( # Specifies the target library. # Links the target library to the log library # included in the NDK. - bspatch + ${log-lib} ) diff --git a/mpmaster/src/main/cpp/mpmaster.cpp b/mpmaster/src/main/cpp/mpmaster.cpp index 3af8e78a..8257e219 100644 --- a/mpmaster/src/main/cpp/mpmaster.cpp +++ b/mpmaster/src/main/cpp/mpmaster.cpp @@ -36,7 +36,7 @@ #define PATH_MPAPP_STATS "/sdcard/com.xypower.mpapp/data/stats/" #define PATH_MPAPP_RUNNING "/sdcard/com.xypower.mpapp/running" -int bspatch_main(int argc,char * argv[]); +extern int bspatch_main(int argc,char * argv[]); typedef struct {