diff --git a/ChangeLog b/ChangeLog index b54292f1..f0dcba62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/configure.ac b/configure.ac index df922e07..44595050 100644 --- a/configure.ac +++ b/configure.ac @@ -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]