From df9922a67eb8e02ab4cf1ff8f24b40f14094e699 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sat, 17 Feb 2018 14:50:55 -0200 Subject: [PATCH] Fix preservation of LDFLAGS value during configure script Fixes #738. --- ChangeLog | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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]