diff --git a/src/XrdApps.cmake b/src/XrdApps.cmake index 39bef75..0fefc05 100644 --- a/src/XrdApps.cmake +++ b/src/XrdApps.cmake @@ -13,6 +13,7 @@ target_link_libraries( XrdPosix XrdClient XrdUtils + pthread ${ZLIB_LIBRARY} ) #------------------------------------------------------------------------------- @@ -24,7 +25,8 @@ add_executable( target_link_libraries( cconfig - XrdUtils ) + XrdUtils + pthread ) #------------------------------------------------------------------------------- # mpxstats @@ -36,6 +38,7 @@ add_executable( target_link_libraries( mpxstats XrdUtils + pthread ${EXTRA_LIBS} ${SOCKET_LIBRARY} ) @@ -49,6 +52,7 @@ add_executable( target_link_libraries( wait41 XrdUtils + pthread ${EXTRA_LIBS} ) #------------------------------------------------------------------------------- diff --git a/src/XrdClient.cmake b/src/XrdClient.cmake index 8aa9afb..1659912 100644 --- a/src/XrdClient.cmake +++ b/src/XrdClient.cmake @@ -70,6 +70,7 @@ target_link_libraries( XrdCrypto XrdUtils dl + pthread ${ZLIB_LIBRARY} ) #------------------------------------------------------------------------------- @@ -83,6 +84,7 @@ target_link_libraries( xrd XrdClient XrdUtils + pthread ${READLINE_LIBRARY} ${NCURSES_LIBRARY} ) @@ -96,7 +98,8 @@ add_executable( target_link_libraries( xprep XrdClient - XrdUtils ) + XrdUtils + pthread ) #------------------------------------------------------------------------------- # xrdstagetool @@ -108,7 +111,8 @@ add_executable( target_link_libraries( xrdstagetool XrdClient - XrdUtils ) + XrdUtils + pthread ) #------------------------------------------------------------------------------- # Perl bindings diff --git a/src/XrdCns.cmake b/src/XrdCns.cmake index 7a4e4fb..5cecc99 100644 --- a/src/XrdCns.cmake +++ b/src/XrdCns.cmake @@ -32,6 +32,7 @@ target_link_libraries( XrdClient XrdServer XrdUtils + pthread ${EXTRA_LIBS} ) #------------------------------------------------------------------------------- @@ -48,6 +49,7 @@ target_link_libraries( cns_ssi XrdUtils XrdCnsLib + pthread ${EXTRA_LIBS} ) #------------------------------------------------------------------------------- diff --git a/src/XrdDaemons.cmake b/src/XrdDaemons.cmake index a37bbff..2236ab3 100644 --- a/src/XrdDaemons.cmake +++ b/src/XrdDaemons.cmake @@ -35,6 +35,7 @@ target_link_libraries( XrdMain XrdOfs dl + pthread ${EXTRA_LIBS} ${SOCKET_LIBRARY} ) @@ -76,6 +77,7 @@ target_link_libraries( cmsd XrdServer XrdMain + pthread ${EXTRA_LIBS} ) #------------------------------------------------------------------------------- diff --git a/src/XrdFrm.cmake b/src/XrdFrm.cmake index da9ac39..019a0cf 100644 --- a/src/XrdFrm.cmake +++ b/src/XrdFrm.cmake @@ -41,6 +41,7 @@ target_link_libraries( XrdServer XrdFrm XrdUtils + pthread ${READLINE_LIBRARY} ${NCURSES_LIBRARY} ${EXTRA_LIBS} @@ -59,6 +60,7 @@ target_link_libraries( XrdServer XrdUtils XrdFrm + pthread ${EXTRA_LIBS} ${SOCKET_LIBRARY} ) @@ -74,6 +76,7 @@ target_link_libraries( XrdServer XrdUtils XrdFrm + pthread ${EXTRA_LIBS} ${SOCKET_LIBRARY} ) @@ -89,6 +92,7 @@ target_link_libraries( XrdServer XrdUtils XrdFrm + pthread ${EXTRA_LIBS} ${SOCKET_LIBRARY} )