Index: heimdal-0.7.2/cf/pthreads.m4
===================================================================
--- heimdal-0.7.2.orig/cf/pthreads.m4	2006-03-09 12:55:11.651102560 +1100
+++ heimdal-0.7.2/cf/pthreads.m4	2006-03-09 12:59:12.806441376 +1100
@@ -32,7 +32,7 @@
 	2.*)
 		native_pthread_support=yes
 		PTHREADS_CFLAGS=-pthread
-		PTHREADS_LIBS=-pthread
+		PTHREADS_LIBS="-pthread -lpthread"
 		;;
 	esac
 	;;