diff -Naur heimdal-1.4-lunar/cf/pthreads.m4 heimdal-1.4/cf/pthreads.m4
--- heimdal-1.4-lunar/cf/pthreads.m4	2010-09-13 09:23:34.000000000 +0200
+++ heimdal-1.4/cf/pthreads.m4	2010-11-03 18:52:15.588634165 +0100
@@ -47,7 +47,7 @@
 	2.*)
 		native_pthread_support=yes
 		PTHREADS_CFLAGS=-pthread
-		PTHREAD_LIBADD=-pthread
+		PTHREAD_LIBADD=-lpthread
 		;;
 	esac
 	;;
