tcl-8.6.1-conf.patch 518 B

123456789101112
  1. --- tcl8.5.0/unix/tcl.m4.conf 2007-12-20 10:48:05.000000000 +0100
  2. +++ tcl8.5.0/unix/tcl.m4 2007-12-20 10:48:52.000000000 +0100
  3. @@ -1427,7 +1427,7 @@ dnl AC_CHECK_TOOL(AR, ar)
  4. # get rid of the warnings.
  5. #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
  6. - SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
  7. + SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -fPIC -Wl,-soname,${@}'
  8. DL_OBJS="tclLoadDl.o"
  9. DL_LIBS="-ldl"
  10. LDFLAGS="$LDFLAGS -Wl,--export-dynamic"