Link NiViewer against ptherad (DSO on Ubuntu raring)
authorJochen Sprickerhof <jochen@sprickerhof.de>
Sat, 25 May 2013 08:28:22 +0000 (10:28 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Sat, 14 Sep 2019 08:36:50 +0000 (09:36 +0100)
Gbp-Pq: Name 0007-Link-NiViewer-against-ptherad-DSO-on-Ubuntu-raring.patch

Source/Tools/NiViewer/Makefile

index 1eba049a7b74a293a904b588b4fd36461558e733..f1d5714e153cf87961724881d61137288a5f5641 100644 (file)
@@ -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)