From: Jochen Sprickerhof <jochen@sprickerhof.de>
Date: Sat, 25 May 2013 10:28:22 +0200
Subject: Link NiViewer against ptherad (DSO on Ubuntu raring)

---
 Source/Tools/NiViewer/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff --git a/Source/Tools/NiViewer/Makefile b/Source/Tools/NiViewer/Makefile
index 1eba049..f1d5714 100644
--- a/Source/Tools/NiViewer/Makefile
+++ b/Source/Tools/NiViewer/Makefile
@@ -23,6 +23,7 @@ ifeq ("$(OSTYPE)","Darwin")
 else
 	CFLAGS += -DUNIX -DGLX_GLXEXT_LEGACY
 	USED_LIBS += glut GL
+	LDFLAGS += -pthread
 endif
 
 LIB_DIRS  += ../../../ThirdParty/PSCommon/XnLib/Bin/$(PLATFORM)-$(CFG)
