|
Matthew D Truch |
2108a39 |
diff -ur cfitsio/configure cfitsio-fixed-configure/configure
|
|
Matthew D Truch |
2108a39 |
--- cfitsio/configure 2010-01-08 13:03:29.000000000 -0500
|
|
Matthew D Truch |
2108a39 |
+++ cfitsio-fixed-configure/configure 2010-01-27 15:46:34.000000000 -0500
|
|
Matthew D Truch |
2108a39 |
@@ -4058,7 +4058,8 @@
|
|
Matthew D Truch |
9f3ec05 |
SHLIB_SUFFIX=".sl"
|
|
Matthew D Truch |
9f3ec05 |
;;
|
|
Matthew D Truch |
9f3ec05 |
lnx)
|
|
Matthew D Truch |
9f3ec05 |
- SHLIB_LD=":"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_SUFFIX=".so.0"
|
|
Matthew D Truch |
9f3ec05 |
;;
|
|
Matthew D Truch |
9f3ec05 |
osf)
|
|
Matthew D Truch |
9f3ec05 |
SHLIB_LD="ld -shared -expect_unresolved '*'"
|
|
Matthew D Truch |
2108a39 |
@@ -4079,7 +4080,7 @@
|
|
Matthew D Truch |
9f3ec05 |
# Darwin uses gcc (=cc), but needs different flags (see above)
|
|
Matthew D Truch |
9f3ec05 |
# if test "x$GCC" = xyes; then
|
|
Matthew D Truch |
9f3ec05 |
if test "x$GCC" = xyes && test "x$EXT" != xdarwin && test "x$EXT" != xcygwin; then
|
|
Matthew D Truch |
9f3ec05 |
- SHLIB_LD="$CC -shared"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
|
|
Matthew D Truch |
9f3ec05 |
lhea_shlib_cflags='-fPIC'
|
|
Matthew D Truch |
9f3ec05 |
fi
|
|
Matthew D Truch |
9f3ec05 |
if test "x$lhea_shlib_cflags" != x; then
|
|
Matthew D Truch |
2108a39 |
diff -ur cfitsio/Makefile.in cfitsio-fixed-configure/Makefile.in
|
|
Matthew D Truch |
2108a39 |
--- cfitsio/Makefile.in 2010-01-08 13:03:30.000000000 -0500
|
|
Matthew D Truch |
2108a39 |
+++ cfitsio-fixed-configure/Makefile.in 2010-01-27 15:46:34.000000000 -0500
|
|
Matthew D Truch |
42a592b |
@@ -22,8 +22,8 @@
|
|
Matthew D Truch |
4b40cfa |
exec_prefix = @exec_prefix@
|
|
Matthew D Truch |
42a592b |
DESTDIR =
|
|
Matthew D Truch |
4b40cfa |
CFITSIO_PREFIX = $(prefix)
|
|
Matthew D Truch |
42a592b |
-CFITSIO_LIB = $(DESTDIR)$(exec_prefix)/lib
|
|
Matthew D Truch |
42a592b |
-CFITSIO_INCLUDE = $(DESTDIR)$(prefix)/include
|
|
Matthew D Truch |
42a592b |
+CFITSIO_LIB = $(DESTDIR)$(exec_prefix)/$(LIBDIR)
|
|
Matthew D Truch |
42a592b |
+CFITSIO_INCLUDE = $(DESTDIR)$(prefix)/$(INCLUDEDIR)
|
|
Matthew D Truch |
42a592b |
INSTALL_DIRS = $(DESTDIR)@INSTALL_ROOT@ ${CFITSIO_LIB} ${CFITSIO_LIB}/pkgconfig ${CFITSIO_INCLUDE}
|
|
Matthew D Truch |
4b40cfa |
|
|
Matthew D Truch |
4b40cfa |
|