diff -Naur heimdal-1.0.1-lunar/cf/pthreads.m4 heimdal-1.0.1/cf/pthreads.m4
--- heimdal-1.0.1-lunar/cf/pthreads.m4	2007-08-09 09:47:22.000000000 +0200
+++ heimdal-1.0.1/cf/pthreads.m4	2007-12-12 21:53:35.000000000 +0100
@@ -32,7 +32,7 @@
 	2.*)
 		native_pthread_support=yes
 		PTHREADS_CFLAGS=-pthread
-		PTHREADS_LIBS=-pthread
+		PTHREADS_LIBS=-lpthread
 		;;
 	esac
 	;;
