From: Peter Rosin Date: Tue, 15 Jan 2013 14:17:30 +0000 (+0100) Subject: Revert "libtool: use false or : for $always_export_symbols, and simplify" X-Git-Tag: v2.4.2.418~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93cba573d25cc1f5dbae07b6828783dbf66130b7;p=thirdparty%2Flibtool.git Revert "libtool: use false or : for $always_export_symbols, and simplify" This reverts commit 5ed7430fcb48c862c9d76ef497b73485d580338e, which is totally bogus as the variable is also set in libtool.m4. Sorry for the noise. Signed-off-by: Peter Rosin --- diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index 98256a58b..c8cdb9c9b 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -7566,7 +7566,6 @@ EOF fi orig_export_symbols= - always_export_symbols=false case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then @@ -7580,7 +7579,7 @@ EOF # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= - always_export_symbols=: + always_export_symbols=yes fi fi ;; @@ -7588,7 +7587,7 @@ EOF # Prepare the list of exported symbols if test -z "$export_symbols"; then - if $always_export_symbols || test -n "$export_symbols_regex"; then + if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols