On 16 Aug 2015 13:39, Tom Lane wrote:
> $ grep extra_libs Makefile
> extra_libs = -lz
> ccache$(EXEEXT): $(ccache_objs) $(extra_libs)
>         $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) $(extra_libs) 
> $(LIBS)
> test/main$(EXEEXT): $(base_objs) $(test_objs) $(extra_libs)
>         $(CC) $(all_cflags) -o $@ $(base_objs) $(test_objs) $(all_ldflags) 
> $(extra_libs) $(LIBS)
> 
> and of course "-lz" isn't a valid dependency.

that's not really true.  make will expand it internally into paths like 
/usr/lib/libz.so.

that said, there's no value anymore in putting -l flags into the deps list
and should just omit it from builds.
-mike

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to