]> git.ipfire.org Git - thirdparty/libtool.git/commit
libtool: Prefer response files over linker scripts for mingw tools
authorMartin Storsjö <martin@martin.st>
Wed, 10 Oct 2018 07:47:21 +0000 (10:47 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Fri, 25 Oct 2024 16:36:53 +0000 (19:36 +0300)
commit5fa7a3b50506cb7ba9e82d77140f4958fb534127
tree5606863d189dbe44269eb666149536ad58e32a12
parentc7bfd6884ceae4e792b17c9ea89097e8d00dbe2b
libtool: Prefer response files over linker scripts for mingw tools

The GCC/binutils tools support response files just fine, while
lld (impersonating GNU ld) only supports response files, not
linker scripts. Using a linker script as input just to pass a
list of files is overkill for cases when a response file is enough.

* build-aux/ltmain.in: Move creation of ld script.
* m4/libtool.m4: Add new variable tag for file_list_spec.
build-aux/ltmain.in
m4/libtool.m4