From ec2ed12b6fd763db42eaffba58c73762a3b06322 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 16 Aug 2016 15:18:09 +1000 Subject: qt qtbase: add pthreads to postgresql libs --- src/qt.mk | 2 +- src/qtbase.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt.mk b/src/qt.mk index 2e4c8d0..d25b65e 100644 --- a/src/qt.mk +++ b/src/qt.mk @@ -22,7 +22,7 @@ define $(PKG)_BUILD cd '$(1)' && QTDIR='$(1)' ./bin/syncqt cd '$(1)' && \ OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ - PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ + PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl pthreads` -lws2_32" \ SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \ CXXFLAGS="-std=gnu++98" \ ./configure \ diff --git a/src/qtbase.mk b/src/qtbase.mk index 0904373..b54549d 100644 --- a/src/qtbase.mk +++ b/src/qtbase.mk @@ -22,7 +22,7 @@ define $(PKG)_BUILD # ICU is buggy. See #653. TODO: reenable it some time in the future. cd '$(1)' && \ OPENSSL_LIBS="`'$(TARGET)-pkg-config' --libs-only-l openssl`" \ - PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl` -lws2_32" \ + PSQL_LIBS="-lpq -lsecur32 `'$(TARGET)-pkg-config' --libs-only-l openssl pthreads` -lws2_32" \ SYBASE_LIBS="-lsybdb `'$(TARGET)-pkg-config' --libs-only-l gnutls` -liconv -lws2_32" \ ./configure \ -opensource \ -- cgit v0.12