File: pthreads.patch

package info (click to toggle)
hdf-eos5 5.1.16.dfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,632 kB
  • sloc: ansic: 94,678; fortran: 33,374; sh: 22,901; csh: 928; makefile: 663
file content (18 lines) | stat: -rw-r--r-- 777 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Correctly link pthreads on Linux systems
Last-Updated: 2012-01-25
Forwarded: no

Index: hdf-eos5-5.1.16.dfsg.1/testdrivers/threads/Makefile.am
===================================================================
--- hdf-eos5-5.1.16.dfsg.1.orig/testdrivers/threads/Makefile.am
+++ hdf-eos5-5.1.16.dfsg.1/testdrivers/threads/Makefile.am
@@ -7,7 +7,7 @@ include $(top_srcdir)/config/include.am
 ## This directory shouldn't be built unless configure detects that the
 ## pthread library is present. 
 INCLUDES=-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.