On 17 Aug 2015 21:06, Joel Rosdahl wrote:
> Tom Lane <t...@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

Attachment: signature.asc
Description: Digital signature

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

Reply via email to