]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool.m4: Fix missing quotes for lt_ar_flags
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 19 Jun 2025 14:01:11 +0000 (17:01 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 19 Jun 2025 14:01:11 +0000 (17:01 +0300)
lt_ar_flags are unquoted, which causes failures when additional options
are passed to ARFLAGS.

Reported: https://savannah.gnu.org/support/?111257

* m4/libtool.m4: Make lt_ar_flags declare as quoted.

m4/libtool.m4

index 4ef92f3e907158d1850db6603c2dc6839c455ac0..75e666d4bb578ed13f33ab6f360731616f499293 100644 (file)
@@ -1577,7 +1577,7 @@ _LT_DECL([], [AR], [1], [The archiver])
 
 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
 lt_ar_flags=$AR_FLAGS
-_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
+_LT_DECL([], [lt_ar_flags], [1], [Flags to create an archive (by configure)])
 
 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.