--- heimdal-0.7.1/cf/pthreads.m4.old	2005-09-09 12:12:28.000000000 +0000
+++ heimdal-0.7.1/cf/pthreads.m4	2005-09-17 22:23:23.000000000 +0000
@@ -32,7 +32,7 @@
 	2.*)
 		native_pthread_support=yes
 		PTHREADS_CFLAGS=-pthread
-		PTHREADS_LIBS=-pthread
+		PTHREADS_LIBS=-lpthread
 		;;
 	esac
 	;;