File qpid-proton-0.9-pthread.patch of Package qpid-proton
--- qpid-proton-0.9/proton-c/bindings/perl/CMakeLists.txt 2015-03-31 11:07:22.000000000 +0200
+++ qpid-proton-0.9/proton-c/bindings/perl/CMakeLists.txt 2015-04-09 09:15:39.519811047 +0200
@@ -52,7 +52,7 @@
${PROTON_HEADERS}
)
swig_add_module(cproton_perl perl perl.i)
-swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY})
+swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY} -lpthread -lm)
if ((${CMAKE_MAJOR_VERSION} EQUAL 2) AND (${CMAKE_MINOR_VERSION} LESS 8))
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cproton_perl.so