--- a/pm_linux/Makefile	2009-01-20 05:01:54.000000000 +0100
+++ b/pm_linux/Makefile	2009-11-13 15:19:56.000000000 +0100
@@ -22,7 +22,7 @@
 
 # Use this for linux alsa (0.9x) version
 versions = pm_linux/pmlinuxalsa.o
-ALSALIB = -lasound
+ALSALIB = -lasound -lpthread
 VFLAGS = -DPMALSA
 
 # Use this for null (a dummy implementation for no Midi I/O:

