diff options
Diffstat (limited to 'x11-misc/synergy/files/synergy-1.9.1-pthread.patch')
-rw-r--r-- | x11-misc/synergy/files/synergy-1.9.1-pthread.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/synergy/files/synergy-1.9.1-pthread.patch b/x11-misc/synergy/files/synergy-1.9.1-pthread.patch new file mode 100644 index 000000000000..46ae6e1588b8 --- /dev/null +++ b/x11-misc/synergy/files/synergy-1.9.1-pthread.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -141,6 +141,8 @@ + check_library_exists ("pthread" pthread_create "" HAVE_PTHREAD) + if (HAVE_PTHREAD) + list (APPEND libs pthread) ++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread") ++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") + else() + message (FATAL_ERROR "Missing library: pthread") + endif() |