On 17.06.2012 15:13, Charles Plessy wrote: > Le Sun, Jun 17, 2012 at 01:49:37PM +0100, Dmitrijs Ledkovs a écrit : >> Dear Charles, >> >> This bug affects debian. See explanation of the problem and ways to >> resolve it here: >> >> http://wiki.debian.org/ToolChain/DSOLinking > Dear Dmitrijs, > > do you think you could prepare a patch against emboss 6.4.0, available in > our Git repository ? > > That would be very helpful. > > Have a nice day, >
Attached are patches against version 6.4.0 for mysql.m4 and postgresql.m4. Felix
--- emboss-6.4.0.orig/m4/mysql.m4 +++ emboss-6.4.0/m4/mysql.m4 @@ -100,10 +100,10 @@ dnl not be installed EMBCPPFLAGS=$CPPFLAGS - EMBLDFLAGS=$LDFLAGS + EMBLIBS=$LIBS CPPFLAGS="$MYSQL_CPPFLAGS $EMBCPPFLAGS" - LDFLAGS="$MYSQL_LDFLAGS $EMBLDFLAGS" + LIBS="$MYSQL_LDFLAGS $EMBLIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> #include "mysql.h"]], @@ -112,7 +112,7 @@ [havemysql=no]) CPPFLAGS=$EMBCPPFLAGS - LDFLAGS=$EMBLDFLAGS + LIBS=$EMBLIBS if test "$havemysql" = yes; then AC_DEFINE([HAVE_MYSQL], [1],
--- emboss-6.4.0.orig/m4/postgresql.m4 +++ emboss-6.4.0/m4/postgresql.m4 @@ -96,10 +96,10 @@ dnl not be installed EMBCPPFLAGS=$CPPFLAGS - EMBLDFLAGS=$LDFLAGS + EMBLIBS=$LIBS CPPFLAGS="$POSTGRESSQL_CPPFLAGS $EMBCPPFLAGS" - LDFLAGS="$POSTGRESQL_LDFLAGS $EMBLDFLAGS" + LIBS="$POSTGRESQL_LDFLAGS $EMBLIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> #include "libpq-fe.h"]], @@ -108,7 +108,7 @@ [havepostgresql=no]) CPPFLAGS=$EMBCPPFLAGS - LDFLAGS=$EMBLDFLAGS + LIBS=$EMBLIBS if test "$havepostgresql" = yes; then AC_DEFINE([HAVE_POSTGRESQL], [1],