From 640cf10220fa951c7bcf6536d3be0815b3a0889c 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 12:14:55 +0800 Subject: [PATCH] Set build-id to none --- android/src/main/cxx/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/android/src/main/cxx/CMakeLists.txt b/android/src/main/cxx/CMakeLists.txt index 346fdc1..ec8b78a 100644 --- a/android/src/main/cxx/CMakeLists.txt +++ b/android/src/main/cxx/CMakeLists.txt @@ -22,6 +22,8 @@ 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 @@ -44,4 +46,4 @@ target_link_libraries( # Specifies the target library. quickjs # Links the target library to the log library # included in the NDK. - ${log-lib} ) \ No newline at end of file + ${log-lib} )