URL: <https://savannah.gnu.org/support/?111257>
Summary: Missing quotes for lt_ar_flags
Group: GNU Libtool
Submitter: None
Submitted: Sa 14 Jun 2025 08:07:24 UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sa 14 Jun 2025 08:07:24 UTC By: Anonymous
ARFLAGS available during a project's `configure` are put unquoted into the
`lt_ar_flags` assignment in the generated `libtool` script, causing libtool to
fail when ARFLAGS contains space.
Example (from vcpkg with MSVC):
Error output:
../libtool: line 150: -nologo: command not found
libtool line 150:
lt_ar_flags=-machine:x64 -nologo cr
I see that other flags variables are put in double quotes.
The error is resolved when I add double quotes as in
lt_ar_flags="-machine:x64 -nologo cr"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111257>
_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
