From 2ed93f40b160e8c0949646dcfc6cf2d3394a0df9 Mon Sep 17 00:00:00 2001 From: cyan Date: Wed, 19 Aug 2026 11:34:02 +0200 Subject: [PATCH] fix: linux sqlite issue (#3519) --- linux/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt index 7a45c054b..d9466e56e 100644 --- a/linux/CMakeLists.txt +++ b/linux/CMakeLists.txt @@ -160,6 +160,13 @@ foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES}) COMPONENT Runtime) endforeach(bundled_library) +install(CODE " + execute_process( + COMMAND \"${CMAKE_COMMAND}\" -E create_symlink + libsqlite3_flutter_libs_plugin.so + \"${INSTALL_BUNDLE_LIB_DIR}/libsqlite3.so\") +" COMPONENT Runtime) + # Fully re-copy the assets directory on each build to avoid having stale files # from a previous install. set(FLUTTER_ASSET_DIR_NAME "flutter_assets")