6.7.0 - Alpha4 - Fine tuning

This commit is contained in:
SuperMonster003
2025-09-09 17:26:54 +08:00
parent 9991ec3c28
commit c2aab17618
13 changed files with 111 additions and 112 deletions

View File

@@ -26,7 +26,8 @@ target_include_directories(pngquant_bridge PRIVATE
external/libpng)
target_link_libraries(pngquant_bridge
jnigraphics # Android NDK 库,用于从本地代码访问位图像素
imagequant # libimagequant 静态库
png_static # libpng 静态库
${ZLIB_LIB} # zlib.so
log) # __android_log_print
${ZLIB_LIB} # zlib.so - libpng 使用的压缩库
log) # Android

View File

@@ -40,7 +40,11 @@ android {
externalNativeBuild {
cmake {
cppFlags "-std=c++17"
cFlags "-ljnigraphics"
// @Hint by SuperMonster003 on Aug 28, 2025.
// ! Moved into `target_link_libraries(pngquant_bridge ...)` in `CMakeLists.txt`.
// ! zh-CN: 移至 `CMakeLists.txt` 文件 `target_link_libraries(pngquant_bridge ...)` 代码中.
// # cFlags "-ljnigraphics"
}
}