Fixed incorrect PERL_LDFLAGS modification with sed.
authorAndrej Kacian <ticho@claws-mail.org>
Sat, 26 Aug 2017 08:00:07 +0000 (10:00 +0200)
committerPaul <paul@claws-mail.org>
Mon, 28 Aug 2017 17:50:33 +0000 (18:50 +0100)
Patch by Orbea, Bug 3866 - slibtool causes compile failure

AUTHORS
configure.ac
src/gtk/authors.h

diff --git a/AUTHORS b/AUTHORS
index a387e3f481e7189dd9d1e3068a4b1890f08430a6..bc4c8dbed4502db36e3ecdd3b9b80fd1cee9a612 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -313,3 +313,4 @@ contributors (in addition to the above; based on Changelog)
        Ashish Gupta
        Olivier Brunel
        Michael Vilain
+       Orbea
index 3205d3596b258014f8bfddeef3bfbb107642ec57..1108adc048df09d3a6546b9f38f5a372823ec8e4 100644 (file)
@@ -1222,10 +1222,10 @@ if test x"$HAVE_PERL" = xyes; then
        AC_MSG_CHECKING(for Perl compile flags)
        PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts`
        PERL_CFLAGS=`echo $PERL_CFLAGS | sed 's/-D_FILE_OFFSET_BITS=[[0-9]]*//'`
-       PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts |sed 's/-lgdbm//'`
-       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-ldb//'`
-       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lndbm//'`
-       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lc//'`
+       PERL_LDFLAGS=`perl -MExtUtils::Embed -e ldopts |sed 's/-lgdbm\>//'`
+       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-ldb\>//'`
+       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lndbm\>//'`
+       PERL_LDFLAGS=`echo $PERL_LDFLAGS |sed 's/-lc\>//'`
        AC_MSG_RESULT(ok)
        AC_MSG_NOTICE([Adding perl LIBS ${PERL_CFLAGS}])
        
index 7f8c09c09803060a5b8ae189547abe7fa7aa1665..b6b7cf700afe571b4dc3f6942b397cfc8d227da4 100644 (file)
@@ -240,6 +240,7 @@ static char *CONTRIBS_LIST[] = {
 "Miquel Oliete",
 "Paul Ollis",
 "Fredrik Olofssen",
+"Orbea",
 "Reza Pakdel",
 "Richard Palo",
 "Marcel Pol",