Source: mysqltcl
Version: 3.05-4
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

currently[1], mysqltcl does not build on hurd-i386.
The problem are the incomplete LD settings in a GNU section in tclconfig/tcl.m4.
The attached patch (which needs autoreconf) updates few of them to be the same
as the Linux counterparts (the toolchain is basically the same, anyway).

[1] 
https://buildd.debian.org/status/fetch.php?pkg=mysqltcl&arch=hurd-i386&ver=3.05-4&stamp=1303930781

Thanks,
-- 
Pino
--- a/tclconfig/tcl.m4
+++ b/tclconfig/tcl.m4
@@ -1475,11 +1475,11 @@
            SHLIB_SUFFIX=".so"
 
            SHLIB_LD="${CC} -shared"
-           DL_OBJS=""
+           DL_OBJS="tclLoadDl.o"
            DL_LIBS="-ldl"
            LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
-           CC_SEARCH_FLAGS=""
-           LD_SEARCH_FLAGS=""
+           CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
            if test "`uname -m`" = "alpha" ; then
                CFLAGS="$CFLAGS -mieee"
            fi

Reply via email to