From 4221d2c804c18432b6c6fc07923fafe0ba378ba7 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 13 Apr 2012 10:34:13 -0600 Subject: [PATCH] Link with pthread as well --- makefile.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \