fix: linux sqlite issue (#3519)

cyan committed Aug 19, 2026 at 11:34 UTC 2ed93f40b160e8c0949646dcfc6cf2d3394a0df9
1 file changed +7
linux/CMakeLists.txt
+7
@@ -160,6 +160,13 @@ foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
160 COMPONENT Runtime)
161 endforeach(bundled_library)
162
163 +install(CODE "
164 + execute_process(
165 + COMMAND \"${CMAKE_COMMAND}\" -E create_symlink
166 + libsqlite3_flutter_libs_plugin.so
167 + \"${INSTALL_BUNDLE_LIB_DIR}/libsqlite3.so\")
168 +" COMPONENT Runtime)
169 +
170 # Fully re-copy the assets directory on each build to avoid having stale files
171 # from a previous install.
172 set(FLUTTER_ASSET_DIR_NAME "flutter_assets")