|
|
@ -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 \
|
|
|
|