File: pthreads.patch

package info (click to toggle)
hdf-eos5 2%3A2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,692 kB
  • sloc: ansic: 92,051; fortran: 31,463; sh: 11,395; makefile: 492
file content (16 lines) | stat: -rw-r--r-- 562 bytes parent folder | download | duplicates (3)
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.