JDK should use system's zlib

Mikhail Teterin mi+kde at aldan.algebra.com
Mon Oct 17 07:00:04 PDT 2005


On Sunday 16 October 2005 02:50 pm, Panagiotis Astithas wrote:
= > @@ -307,2 +307,4 @@
= >  
= >  .include <bsd.port.post.mk>
= > +
= > +EXTRACT_AFTER_ARGS+=	-x '*/zlib-*/*'
 
= Seems to be working fine in my testing so far. As a side-effect it has
= shaved 52KB off the libzip.so binary and a total of 4MB on a debug
= installation. On a side note: does EXTRACT_AFTER_ARGS really have to
= go to the end of the Makefile?

Yes, unless you wish to spell them out in full. bsd.port.mk will only
set this variable, if it is not set already :-( So, if you want to just
_append_ some flags, you have to do that at the end.

On Sunday 16 October 2005 05:35 pm, Simon L. Nielsen wrote:
= And even better (from my point of view anyway :-) ) - we don't have to
= track security vulnerabilities in the ancient embeded zlib

Ok, then, who is going to do the same thing with libjpeg :-) ?

	-mi



More information about the freebsd-java mailing list