From dbd8edf40b1deefccf0c29da4dfb65792032a1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=A1=A0=E1=A0=B5=E1=A1=A0=E1=A1=B3=20=E1=A1=A0=E1=A0=B5?= =?UTF-8?q?=E1=A1=A0=20=E1=A0=AE=E1=A0=A0=E1=A0=A8=E1=A1=A9=E1=A0=8B?= =?UTF-8?q?=E1=A0=A0=E1=A0=A8?= <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:32:59 +0800 Subject: [PATCH] Update CMakeLists.txt --- android/src/main/cxx/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/src/main/cxx/CMakeLists.txt b/android/src/main/cxx/CMakeLists.txt index ec8b78a..b67f9b1 100644 --- a/android/src/main/cxx/CMakeLists.txt +++ b/android/src/main/cxx/CMakeLists.txt @@ -13,6 +13,7 @@ set(JNI_LIB_NAME qjs) include("${CMAKE_CURRENT_SOURCE_DIR}/../../../../cxx/quickjs.cmake") +add_link_options("-Wl,--build-id=none") add_library( # Sets the name of the library. ${JNI_LIB_NAME} @@ -22,8 +23,6 @@ add_library( # Sets the name of the library. # Provides a relative path to your source file(s). ${CXX_LIB_DIR}/ffi.cpp ) -add_link_options("-Wl,--build-id=none") - # Searches for a specified prebuilt library and stores the path as a # variable. Because CMake includes system libraries in the search path by # default, you only need to specify the name of the public NDK library