From 15f50120fa052e7fea3d7ddf04321eaceeecb4d8 Mon Sep 17 00:00:00 2001 From: "dominique.leuenberger@gmail.com" Date: Thu, 14 Feb 2013 08:42:03 +0000 Subject: Link perl bindings to pthread. Fix bug 182 git-svn-id: http://libproxy.googlecode.com/svn/trunk@873 c587cffe-e639-0410-9787-d7902ae8ed56 --- NEWS | 1 + bindings/perl/src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 73f0699..2a8bd34 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ New in version ============================== * 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 "") -- cgit v1.2.1