$NetBSD: patch-aa,v 1.4 2006/08/22 15:27:03 joerg Exp $

--- Makefile.orig	2006-08-22 17:22:56.000000000 +0000
+++ Makefile
@@ -217,7 +217,7 @@ endif
 ifndef WIN32
 	ifndef MORPHOS
 		ifndef OSX
-			LDFLAGS+=-lpthread
+			LDFLAGS+=${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
 		endif
 	endif
 endif
