From: Jeff Mahoney <jeffm@suse.com>
Subject: smbnetfs: Needs -pthread

Without -pthread, we encounter build failures on recent releases:
/usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line

---
 src/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,4 @@
+AM_CFLAGS = -pthread
 bin_PROGRAMS = smbnetfs
 
 smbnetfs_SOURCES = \
