bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] getdate.lo is linked twice to libgnu.la


From: Bruno Haible
Subject: Re: [bug-gnulib] getdate.lo is linked twice to libgnu.la
Date: Wed, 13 Sep 2006 17:00:42 +0200
User-agent: KMail/1.9.1

Simon Josefsson wrote:
> However, it seems arguable correct (right?), so I propose to install
> the patch below in gnulib-tool.  Ok?
> 
> /Simon
> 
> --- gnulib-tool       12 Sep 2006 17:37:41 +0200      1.159
> +++ gnulib-tool       13 Sep 2006 15:50:00 +0200      
> @@ -1098,7 +1098,7 @@
>    fi
>    echo
>    echo "${libname}_${libext}_SOURCES ="
> -  echo "${libname}_${libext}_LIBADD = @${perhapsLT}LIBOBJS@"
> +  echo "${libname}_${libext}_LIBADD = \$(${perhapsLT}LIBOBJS)"
>    if test "$libtool" = true; then
>      echo "${libname}_${libext}_LDFLAGS = \$(AM_LDFLAGS)"
>    fi
> 

OK. I installed it for you, with a comment.

Bruno


2009-09-13  Simon Josefsson  <address@hidden>

        * gnulib-tool (func_emit_lib_Makefile_am): Use $(LIBOBJS), not
        @address@hidden
        Suggested by Ralf Wildenhues <address@hidden>.

*** gnulib-tool 9 Sep 2006 19:02:08 -0000       1.159
--- gnulib-tool 13 Sep 2006 15:00:19 -0000
***************
*** 1098,1104 ****
    fi
    echo
    echo "${libname}_${libext}_SOURCES ="
!   echo "${libname}_${libext}_LIBADD = @${perhapsLT}LIBOBJS@"
    if test "$libtool" = true; then
      echo "${libname}_${libext}_LDFLAGS = \$(AM_LDFLAGS)"
    fi
--- 1098,1106 ----
    fi
    echo
    echo "${libname}_${libext}_SOURCES ="
!   # Here we use $(LIBOBJS), not @address@hidden The value is the same. 
However,
!   # automake during its analyses looks for $(LIBOBJS), not for @address@hidden
!   echo "${libname}_${libext}_LIBADD = \$(${perhapsLT}LIBOBJS)"
    if test "$libtool" = true; then
      echo "${libname}_${libext}_LDFLAGS = \$(AM_LDFLAGS)"
    fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]