13 lines
464 B
Text
13 lines
464 B
Text
|
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
|