tk-8.5.14-conf.patch 569 B

1234567891011121314151617
  1. unix/tcl.m4 | 6 +++---
  2. 1 file changed, 3 insertions(+), 3 deletions(-)
  3. diff --git a/unix/tcl.m4 b/unix/tcl.m4
  4. index 3974753..9c36eb5 100644
  5. --- a/unix/tcl.m4
  6. +++ b/unix/tcl.m4
  7. @@ -1420,7 +1420,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
  8. # get rid of the warnings.
  9. #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
  10. - SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
  11. + SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
  12. DL_OBJS="tclLoadDl.o"
  13. DL_LIBS="-ldl"
  14. LDFLAGS="$LDFLAGS -Wl,--export-dynamic"