[cfitsio] Link with pthread as well

Orion Poplawski orion at fedoraproject.org
Fri Apr 13 16:34:15 UTC 2012


commit 4221d2c804c18432b6c6fc07923fafe0ba378ba7
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Fri Apr 13 10:34:13 2012 -0600

    Link with pthread as well

 makefile.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/makefile.patch b/makefile.patch
index f3bb3d2..c41a8f1 100644
--- a/makefile.patch
+++ b/makefile.patch
@@ -6,7 +6,7 @@ diff -up cfitsio/Makefile.in.orig cfitsio/Makefile.in
  
  libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
 -		${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
-+		${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lm
++		${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -pthread -lm
  
  install:	libcfitsio.a $(INSTALL_DIRS)
  		@if [ -f libcfitsio.a ]; then \


More information about the scm-commits mailing list