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]

[SCons] Fix for the cyglink tool


Hi,

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.

Zouzou

Attachment: cyglink.patch
Description: Text document

Attachment: cyglinkimplib.patch
Description: Text document

--
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]