Skip to content

Commit

Permalink
Link the tools with pthread.
Browse files Browse the repository at this point in the history
  • Loading branch information
docbacardi committed Feb 16, 2023
1 parent f6e18bc commit 7ce0db5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ diff -uNr ubertooth-2020-12-R1/host/ubertooth-tools/src/CMakeLists.txt ubertooth
include_directories(${LIBUSB_INCLUDE_DIR} ${LIBBTBB_INCLUDE_DIR})

-LIST(APPEND TOOLS_LINK_LIBS ${LIBUSB_LIBRARIES} ${LIBBTBB_LIBRARIES})
+LIST(APPEND TOOLS_LINK_LIBS ${LIBUSB_LIBRARIES} udev ${LIBBTBB_LIBRARIES})
+LIST(APPEND TOOLS_LINK_LIBS ${LIBUSB_LIBRARIES} udev -pthread ${LIBBTBB_LIBRARIES})

if(USE_OWN_GNU_GETOPT)
LIST(APPEND TOOLS_LINK_LIBS libgetopt_static)

0 comments on commit 7ce0db5

Please sign in to comment.