This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [SCons] Fix for the cyglink tool
- From: David Rothenberger <daveroth at acm dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 07 Aug 2013 12:03:29 -0700
- Subject: Re: [SCons] Fix for the cyglink tool
- References: <520279DE dot 7060300 at 123gen dot com>
Zouzou wrote:
> The cyglink tool in Cygwin's distrib of SCons has a typo that prevents
> it from generating .a import files when building shared libraries with
> the SharedLibrary method.
>
> In cyglink.py, shlib_emitter creates a target file named with
> IMPLIBPREFIX and IMPLIBSUFFIX but shlib_generator checks for LIBPREFIX
> and LIBSUFFIX, which fails. The fix is to have shlib_generator check for
> IMPLIBPREFIX and IMPLIBSUFFIX.
>
> I am attaching a modified cyglink.patch with the correction; and a
> "patch of the patch" that shows which line of cyglink.patch I have changed.
Thanks for the patch.
I originally did the cyglink.py tool to build serf and it worked
correctly for serf's build script. At least I'm pretty sure it did. I'll
take a look at your patch and apply it if serf still builds as well.
--
David Rothenberger ---- daveroth@acm.org
QOTD:
"It's been Monday all week today."
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple