[PATCH] Add libz to dumper.exe link [was Re: Re: speclib vs. -lc trouble.]
Dave Korn
dave.korn.cygwin@googlemail.com
Mon Apr 13 16:00:00 GMT 2009
[ Why don't I resend this to the proper list, eh? ]
Dave Korn wrote:
> One slight catch: recent libbfds have grown a dependency on zlib, as they
> can natively handle compressed files. This broke the build for dumper.exe,
> which uses libbfd. The attached patch adds libz unconditionally, as it
> won't do any harm with older libbfds that don't need it, and because it's a
> bog-standard package that's easily available everywhere, so I didn't see
> the need to go to great lengths to only require it if the installed libbfd
> is sufficiently new to actually need it. Anyone building winsup from
> source would probably have zlib-devel installed already anyway.
Ok?
winsup/utils/ChangeLog
* Makefile.in (libz): New makefile variable.
(build_dumper): Test it was correctly set.
(dumper.exe): Use it.
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dumper-lz.patch
Type: text/x-patch
Size: 1410 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090413/6561ed00/attachment.bin>
More information about the Cygwin-patches
mailing list