aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/libpqxx/CMakeLists.txt4
-rw-r--r--ports/libpqxx/CONTROL2
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/libpqxx/CMakeLists.txt b/ports/libpqxx/CMakeLists.txt
index 056684d23..d8b9ce4f5 100644
--- a/ports/libpqxx/CMakeLists.txt
+++ b/ports/libpqxx/CMakeLists.txt
@@ -40,6 +40,10 @@ else()
set(SHARED_DEFINITION "")
endif()
+IF(UNIX)
+ set(TARGET pqxx_static)
+ENDIF()
+
add_library(${TARGET} ${SRCS})
target_compile_definitions(${TARGET} PRIVATE -DPQXX_INTERNAL -DNOMINMAX ${SHARED_DEFINITION})
target_include_directories(${TARGET} PRIVATE include ${LIBPQ_FE_H} ${POSTGRES_EXT_H} ${CMAKE_BINARY_DIR})
diff --git a/ports/libpqxx/CONTROL b/ports/libpqxx/CONTROL
index 3574a541b..1742189b9 100644
--- a/ports/libpqxx/CONTROL
+++ b/ports/libpqxx/CONTROL
@@ -1,5 +1,5 @@
Source: libpqxx
-Version: 6.4.5
+Version: 6.4.5-1
Homepage: https://github.com/jtv/libpqxx
Description: The official C++ client API for PostgreSQL
Build-Depends: libpq