This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SCons] Fix for the cyglink tool


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]