Subject: | Needs pthreads |
Thanks for the great library!
librabbitmq/amqp_api.c includes pthread.h but the Makefile.PL doesn't link with it.
To get 0.04 to build on my system I need to have the attached patch.
Cheers! Leon
librabbitmq/amqp_api.c includes pthread.h but the Makefile.PL doesn't link with it.
To get 0.04 to build on my system I need to have the attached patch.
Cheers! Leon
Subject: | Makefile.PL.diff |
--- Makefile.PL.orig 2009-12-30 08:17:21.000000000 +0000
+++ Makefile.PL 2009-12-30 08:19:01.392096541 +0000
@@ -9,5 +9,6 @@
NAME => 'Net::RabbitMQ',
VERSION_FROM => 'RabbitMQ.pm',
OBJECT => "RabbitMQ.o $cfiles",
+ LIBS => ["-lpthread"],
);