[pgagent] patch: link with -pthread

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема [pgagent] patch: link with -pthread
Дата
Msg-id 20180720085529.GC15185@msg.df7cb.de
обсуждение исходный текст
Ответы Re: [pgagent] patch: link with -pthread  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
All non-x868 architectures need -pthread to link with threads:

https://buildd.debian.org/status/logs.php?pkg=pgagent&ver=4.0.0-1&suite=sid

This patch fixes the problem:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -135,7 +135,7 @@ ENDIF(WIN32)

 ADD_EXECUTABLE(pgagent ${_srcs})
 TARGET_LINK_LIBRARIES(
-        pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES}
+        pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} -pthread
 )

 # Installation


Christoph


В списке pgadmin-support по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: [pgagent] patch: supported cmake version
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgagent] patch: supported cmake version