Link with pthread as well

epel9
Orion Poplawski 13 years ago
parent 7701fb5c33
commit 4221d2c804

@ -6,7 +6,7 @@ diff -up cfitsio/Makefile.in.orig cfitsio/Makefile.in
libcfitsio${SHLIB_SUFFIX}: ${OBJECTS} libcfitsio${SHLIB_SUFFIX}: ${OBJECTS}
- ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} - ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS}
+ ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -lm + ${SHLIB_LD} ${LDFLAGS} -o $@ ${OBJECTS} -pthread -lm
install: libcfitsio.a $(INSTALL_DIRS) install: libcfitsio.a $(INSTALL_DIRS)
@if [ -f libcfitsio.a ]; then \ @if [ -f libcfitsio.a ]; then \

Loading…
Cancel
Save