From: Gary V. Vaughan Date: Fri, 25 Oct 2013 23:35:41 +0000 (+1300) Subject: maint: fix a syntax-check violation from commit 12641bd. X-Git-Tag: v2.4.2.418~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb38c688b3f89069f4f8470a0a873558d6e3ee7a;p=thirdparty%2Flibtool.git maint: fix a syntax-check violation from commit 12641bd. * build-aux/ltmain.in (func_mode_link): Reverse test operands to forestall misinterpretation of contests of shell variable as operand 1. Signed-off-by: Gary V. Vaughan --- diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 58b443cd4..fba05c156 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -6984,7 +6984,7 @@ func_mode_link () # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then - if test "$build_old_libs" = yes; then + if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else