slackbuilds_ponce/development/tclvfs/patches/03-m4.patch
Zbigniew Baniewski 8f2a74049e development/tclvfs: Added (virtial filesystem extension for Tcl)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2011-01-10 15:04:24 -06:00

21 lines
601 B
Diff

--- tclvfs-1.3-20080503.orig/tclconfig/tcl.m4
+++ tclvfs-1.3-20080503/tclconfig/tcl.m4
@@ -1486,12 +1486,15 @@
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
+ # following line added by CW for Debian GNU/Hurd
+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\${TCL_LIB_FILE}.0"
+
SHLIB_LD="${CC} -shared"
- DL_OBJS=""
+ DL_OBJS="tclLoadDl.o"
DL_LIBS="-ldl"
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
+ LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}"
if test "`uname -m`" = "alpha" ; then
CFLAGS="$CFLAGS -mieee"
fi