summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-07-24 10:48:14 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-07-24 10:48:14 +0200
commit0b116a792058c41cc5bdf9e2bbea9d855ba3bb8a (patch)
tree3fcff8ac5ad8b9448170fab7d9b81f3777f574bc
parent0f9afb1f15fe10f98f321b7901fb1330eafe6b69 (diff)
Fix semaphore test linking.
-rw-r--r--test/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index e8d9a75..93155fa 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -167,8 +167,8 @@ imagecachetest_SOURCES = \
test.cc
semaphoretest_CXXFLAGS = -DOUTPUT=\"semaphoretest\" $(CPPUNIT_CFLAGS) \
- -I$(top_srcdir)/src -I$(top_srcdir)/hugin
-semaphoretest_LDFLAGS = $(CPPUNIT_LIBS)
+ -I$(top_srcdir)/src -I$(top_srcdir)/hugin $(PTHREAD_CFLAGS)
+semaphoretest_LDFLAGS = $(CPPUNIT_LIBS) $(PTHREAD_LIBS)
semaphoretest_SOURCES = \
$(top_srcdir)/hugin/hugin.c \
$(top_srcdir)/src/semaphore.cc \