Skip to content
Snippets Groups Projects
Commit 1c738dee authored by Martin Storsjö's avatar Martin Storsjö
Browse files

extras/tools: Add another libtool patch for building with lld on windows

On Windows, the maximum command line length is rather low; linking
libqt_plugin.la will reach this limit (but this seems to currently be
the only module linked which reaches the limit). In these cases, instead
of passing the list of object files to link on the command line, the list
is passed via a file. GCC/GNU ld supports both a response file and linker
scripts, while clang/lld only supports response files. This patch
reverses the priority between the two, by preferring response files.

This patch is included in the libtool package in msys2, which can be
considered some sort of active upstream.
parent 7fe6d1ff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment