]> git.sesse.net Git - movit/commitdiff
We need to link the main library against pthreads now, since we lock in ResourcePool.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Jan 2014 16:46:26 +0000 (17:46 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 19 Jan 2014 16:46:26 +0000 (17:46 +0100)
Makefile.in

index ec5919d8b04f448dcd057c36369c2de9c1d32171..78b82fba6bcb511a8b3302cad3a3c1cb014e7c67 100644 (file)
@@ -11,7 +11,7 @@ with_demo_app = @with_demo_app@
 CC=@CC@
 CXX=@CXX@
 CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@
 CC=@CC@
 CXX=@CXX@
 CXXFLAGS=-Wall @CXXFLAGS@ -I$(GTEST_DIR)/include @Eigen3_CFLAGS@ @GLEW_CFLAGS@
-LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@
+LDFLAGS=@GLEW_LIBS@ @SDL_LIBS@ -lpthread
 DEMO_LDFLAGS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@
 RANLIB=ranlib
 INSTALL=install
 DEMO_LDFLAGS=@SDL_image_LIBS@ -lrt -lpthread @libpng_LIBS@
 RANLIB=ranlib
 INSTALL=install