[SCons] Fix for the cyglink tool

David Rothenberger daveroth@acm.org
Wed Aug 7 19:05:00 GMT 2013


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



More information about the Cygwin mailing list