From 161c0cb3cb13787989e5b6ea0d202f4c7a1a1557 Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Tue, 16 Sep 2025 14:37:10 -0400 Subject: [PATCH] Use proper suffix for shared library file On macOS, the file was named `clickhouse_fdw.so` but should be `clickhouse_fdw.dylib`. This change seems to fix the issue by setting the suffix to the platform default. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8769ff4..45951e1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,6 +51,7 @@ endif() set_target_properties (clickhouse_fdw PROPERTIES OUTPUT_NAME "clickhouse_fdw" PREFIX "" + SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX} ) set_target_properties(clickhouse_fdw PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE