Fix preservation of LDFLAGS value during configure script

Fixes #738.
This commit is contained in:
Hisham Muhammad 2018-02-17 14:50:55 -02:00
parent fcdff59f4c
commit df9922a67e
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@ What's new in version 2.1.1
* Check for pkg-config when building with --enable-delayacct
(thanks to @florian2833z for the report)
* BUGFIX: preserve LDFLAGS when building
(thanks to Lance Frederickson for the report)
* BUGFIX: fix issue with small terminals
(thanks to Daniel Elf for the report)
* BUGFIX: fix crash with particular keycodes

View File

@ -167,7 +167,7 @@ m4_define([HTOP_CHECK_SCRIPT],
LIBS="$htop_config_script $LIBS "
htop_script_success=yes
], [])
LDFLAGS="$save_LDFLAGS"
LDFLAGS="$htop_save_LDFLAGS"
fi
if test "x$htop_script_success" = xno; then
[$5]