ports/math/cfitsio/patches/patch-configure

13 lines
464 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure
--- configure.orig
+++ configure
@@ -5260,7 +5260,7 @@ esac
# Darwin uses gcc (=cc), but needs different flags (see above)
if test "x$EXT" != xdarwin && test "x$EXT" != xcygwin && test "x$EXT" != xmingw32; then
if test "x$GCC" = xyes; then
- SHLIB_LD="$CC -shared -Wl,-soname,lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}"
+ SHLIB_LD="$CC -shared -Wl,-soname,lib\${PACKAGE}\${SHLIB_SUFFIX}"
lhea_shlib_cflags='-fPIC'
fi
fi