[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890606: -lpthread



Hi,

I cannot get to the same place with 'sbuild' on experimental. How did
you do it, please? Thank you!

Are you missing an '-lpthread' in the link command? A more
sophisticated solution may involve

find_package(Threads)

and

target_link_libraries( ... Threads::Threads)

or

target_link_libraries( ... ${CMAKE_THREAD_LIBS_INIT})

in one of the CMakeLists.txt files.

Best regards,
Felix


Reply to: