[ccache] ccache version 3.2.3 has been released
Joel Rosdahl
joel at rosdahl.net
Wed Aug 19 19:35:32 UTC 2015
>
> ldflags should not contain libs for linking ... that's what LIBS is for.
Thanks, will make it so.
-- Joel
On 19 August 2015 at 15:41, Mike Frysinger <vapier at gentoo.org> wrote:
> On 17 Aug 2015 21:06, Joel Rosdahl wrote:
> > Tom Lane <tgl at sss.pgh.pa.us> wrote:
> > > [...] this fails to build for me on late-model OS X:
> >
> > Bummer. Here's my proposed fix:
> >
> https://git.samba.org/?p=ccache.git;a=commitdiff;h=f74c76107933046309861680b741adc67ac2a34e
> .
> > Perhaps you could try it out?
>
> that might work, but i think it's incorrect and can/will lead to problems
> in
> the future. ldflags should not contain libs for linking ... that's what
> LIBS
> is for. so you probably want:
>
> --- a/configure.ac
> +++ b/configure.ac
> @@ -120,7 +120,7 @@ if test x${use_bundled_zlib} = xyes; then
> extra_libs="zlib/libz.a"
> mkdir -p zlib
> else
> - extra_ldflags="-lz"
> + LIBS="$LIBS -lz"
> fi
>
> dnl Linking on Windows needs ws2_32
>
> -mike
>
More information about the ccache
mailing list