[libpqxx] linux support (#11442)

* Add files via upload

* [new port] avro-cpp

* add boost-format

* remove comments

* remove comments

* [libpqxx] linux support

* fix

* fix

* update version

* correct the indentation

* Update ports/libpqxx/CMakeLists.txt

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Co-authored-by: Alexander Smyslov <aleksandr.smyslov@libertexgroup.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
alexander-smyslov 2020-05-21 20:31:00 +02:00 committed by GitHub
parent 01e3b301d1
commit f075c6b1ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -34,7 +34,9 @@ file(GLOB SRCS "${PROJECT_SOURCE_DIR}/src/*.cxx")
if(BUILD_SHARED_LIBS)
set(TARGET libpqxx)
set(SHARED_DEFINITION -DPQXX_SHARED)
if(MSVC)
list(APPEND SRCS "${PROJECT_SOURCE_DIR}/win32/libpqxx.cxx")
endif()
else()
set(TARGET libpqxx_static)
set(SHARED_DEFINITION "")

View File

@ -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]