mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-15 06:49:57 +08:00
Revert "libtool: use false or : for $always_export_symbols, and simplify"
This reverts commit 5ed7430fcb
, which is
totally bogus as the variable is also set in libtool.m4. Sorry for the
noise.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
This commit is contained in:
parent
5ed7430fcb
commit
93cba573d2
@ -7566,7 +7566,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
orig_export_symbols=
|
orig_export_symbols=
|
||||||
always_export_symbols=false
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin* | mingw* | cegcc*)
|
cygwin* | mingw* | cegcc*)
|
||||||
if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
|
if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
|
||||||
@ -7580,7 +7579,7 @@ EOF
|
|||||||
# include_expsyms logic still works.
|
# include_expsyms logic still works.
|
||||||
orig_export_symbols=$export_symbols
|
orig_export_symbols=$export_symbols
|
||||||
export_symbols=
|
export_symbols=
|
||||||
always_export_symbols=:
|
always_export_symbols=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@ -7588,7 +7587,7 @@ EOF
|
|||||||
|
|
||||||
# Prepare the list of exported symbols
|
# Prepare the list of exported symbols
|
||||||
if test -z "$export_symbols"; then
|
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'"
|
func_verbose "generating symbol list for '$libname.la'"
|
||||||
export_symbols=$output_objdir/$libname.exp
|
export_symbols=$output_objdir/$libname.exp
|
||||||
$opt_dry_run || $RM $export_symbols
|
$opt_dry_run || $RM $export_symbols
|
||||||
|
Loading…
Reference in New Issue
Block a user