From: Andreas Beckmann Date: Wed, 24 Nov 2021 14:06:54 +0000 (+0100) Subject: [PATCH 100/144] link libpocl-devices-pthread.so with -pthread X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a581594cb202cbf339be5017768bd8accc971615;p=pocl.git [PATCH 100/144] link libpocl-devices-pthread.so with -pthread Gbp-Pq: Name 0100-link-libpocl-devices-pthread.so-with-pthread.patch --- diff --git a/lib/CL/devices/pthread/CMakeLists.txt b/lib/CL/devices/pthread/CMakeLists.txt index 4b99fc8..d8b1b0e 100644 --- a/lib/CL/devices/pthread/CMakeLists.txt +++ b/lib/CL/devices/pthread/CMakeLists.txt @@ -28,5 +28,5 @@ if(MSVC) endif(MSVC) add_pocl_device_library(pocl-devices-pthread pocl-pthread.h pthread.c pthread_scheduler.c pthread_utils.c) if(ENABLE_LOADABLE_DRIVERS) -target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic) +target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic ${PTHREAD_LIBRARY}) endif()