03-m4.patch 601 B

12345678910111213141516171819202122
  1. --- tclvfs-1.3-20080503.orig/tclconfig/tcl.m4
  2. +++ tclvfs-1.3-20080503/tclconfig/tcl.m4
  3. @@ -1486,12 +1486,15 @@
  4. SHLIB_LD_LIBS='${LIBS}'
  5. SHLIB_SUFFIX=".so"
  6. + # following line added by CW for Debian GNU/Hurd
  7. + TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
  8. +
  9. SHLIB_LD="${CC} -shared"
  10. - DL_OBJS=""
  11. + DL_OBJS="tclLoadDl.o"
  12. DL_LIBS="-ldl"
  13. LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
  14. CC_SEARCH_FLAGS=""
  15. - LD_SEARCH_FLAGS=""
  16. + LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}"
  17. if test "`uname -m`" = "alpha" ; then
  18. CFLAGS="$CFLAGS -mieee"
  19. fi