1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Correctly link pthreads on Linux systems
Last-Updated: 2012-01-25
Forwarded: no
--- a/testdrivers/threads/Makefile.am
+++ b/testdrivers/threads/Makefile.am
@@ -7,7 +7,7 @@
## This directory shouldn't be built unless configure detects that the
## pthread library is present.
AM_CPPFLAGS=-I$(top_srcdir)/include
-LDADD=$(LIBHDFEOS5) $(LIBGCTP) pthread
+LDADD=$(LIBHDFEOS5) $(LIBGCTP) -lpthread
# Programs to build when user types 'make check'.
# Each of these is build from a single *.c file.
|