aboutsummaryrefslogtreecommitdiffstats
path: root/devel/RStudio/files/patch-src_cpp_CMakeLists.txt
blob: ec5582ff9cdd50a4da7cafebe12d3e49a6e016d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/cpp/CMakeLists.txt.orig	2022-12-03 07:38:59 UTC
+++ src/cpp/CMakeLists.txt
@@ -468,9 +468,9 @@ endif()
 # find SOCI libraries
 if(UNIX)
    if(NOT APPLE AND RSTUDIO_USE_SYSTEM_SOCI)
-      find_library(SOCI_CORE_LIB NAMES "libsoci_core.a" "soci_core")
-      find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.a" "soci_sqlite3")
-      find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.a" "soci_postgresql")
+      find_library(SOCI_CORE_LIB NAMES "libsoci_core.so" "soci_core")
+      find_library(SOCI_SQLITE_LIB NAMES "libsoci_sqlite3.so" "soci_sqlite3")
+      find_library(SOCI_POSTGRESQL_LIB NAMES "libsoci_postgresql.so" "soci_postgresql")
       if(NOT SOCI_CORE_LIB OR NOT SOCI_SQLITE_LIB OR NOT SOCI_POSTGRESQL_LIB)
          message(FATAL_ERROR "Some or all SOCI libraries were not found. Ensure the SOCI dependency is installed and try again.")
       endif()