diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | bindings/perl/src/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ New in version <NEXT> ============================== * Fix fd leak in get_pac (Bug #185) * Detect running MATE session (Bug #186, Part1). +* Fix linking of perl bindings to pthread (Bug #182) New in version 0.4.11 ============================== diff --git a/bindings/perl/src/CMakeLists.txt b/bindings/perl/src/CMakeLists.txt index 9e9e0fd..dbf6dd6 100644 --- a/bindings/perl/src/CMakeLists.txt +++ b/bindings/perl/src/CMakeLists.txt @@ -12,7 +12,7 @@ set(Libproxy_LIB_SRCS Libproxy.c) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/blib/arch/auto/Net) add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS}) -target_link_libraries(PLlibproxy ${PERL_LIBRARY} libproxy) +target_link_libraries(PLlibproxy ${PERL_LIBRARY} libproxy pthread) set_target_properties(PLlibproxy PROPERTIES OUTPUT_NAME "Libproxy") set_target_properties(PLlibproxy PROPERTIES PREFIX "") |