aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/libpqxx/CMakeLists.txt4
-rw-r--r--ports/libpqxx/CONTROL2
2 files changed, 4 insertions, 2 deletions
diff --git a/ports/libpqxx/CMakeLists.txt b/ports/libpqxx/CMakeLists.txt
index a3e6ae3f4..00575c4af 100644
--- a/ports/libpqxx/CMakeLists.txt
+++ b/ports/libpqxx/CMakeLists.txt
@@ -34,7 +34,9 @@ file(GLOB SRCS "${PROJECT_SOURCE_DIR}/src/*.cxx")
if(BUILD_SHARED_LIBS)
set(TARGET libpqxx)
set(SHARED_DEFINITION -DPQXX_SHARED)
- list(APPEND SRCS "${PROJECT_SOURCE_DIR}/win32/libpqxx.cxx")
+ if(MSVC)
+ list(APPEND SRCS "${PROJECT_SOURCE_DIR}/win32/libpqxx.cxx")
+ endif()
else()
set(TARGET libpqxx_static)
set(SHARED_DEFINITION "")
diff --git a/ports/libpqxx/CONTROL b/ports/libpqxx/CONTROL
index 9acdf8146..f118a488b 100644
--- a/ports/libpqxx/CONTROL
+++ b/ports/libpqxx/CONTROL
@@ -1,5 +1,5 @@
Source: libpqxx
-Version: 6.4.5-2
+Version: 6.4.5-3
Homepage: https://github.com/jtv/libpqxx
Description: The official C++ client API for PostgreSQL
Build-Depends: libpq[core]