File linphone-link-soci-sqlite3.patch of Package linphone
Index: liblinphone-5.3.4/CMakeLists.txt
===================================================================
--- liblinphone-5.3.4.orig/CMakeLists.txt
+++ liblinphone-5.3.4/CMakeLists.txt
@@ -150,12 +150,7 @@ if(ENABLE_XML2)
endif()
if(ENABLE_DB_STORAGE)
- # APPLE platform does not use dlopen for soci backend
- if(APPLE OR ANDROID)
- find_package(Soci REQUIRED COMPONENTS sqlite3)
- else()
- find_package(Soci REQUIRED)
- endif()
+ find_package(Soci REQUIRED COMPONENTS sqlite3)
set(HAVE_DB_STORAGE 1)
endif()