server: add missing linking against pthread 43/93243/2
authorRafal Krypa <r.krypa@samsung.com>
Fri, 21 Oct 2016 08:05:02 +0000 (10:05 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 21 Oct 2016 08:45:13 +0000 (01:45 -0700)
Server code uses pthread_sigmask() function but we never had explicitly
linked it against pthread library.
Fixing this in CMake for the server component.

Change-Id: I0c8a43a0fe26a00aa7848b539044dcc62bb67eb8
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/server/CMakeLists.txt

index f2d095736f37f6e1e0cb3a6a0e5691b58f327cd1..5340c92a0612dbcf97f401eb62d5f872b47d3ef8 100644 (file)
@@ -39,6 +39,7 @@ TARGET_LINK_LIBRARIES(${TARGET_SERVER}
     ${TARGET_COMMON}
     ${CMAKE_THREAD_LIBS_INIT}
     ${SERVER_DEP_LIBRARIES}
+    "-pthread"
     "-pie"
     )