diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-09 19:49:08 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-08-09 19:49:08 +0000 |
commit | b2cde42334d2111d70d8577794be507c16b42eb4 (patch) | |
tree | 49402ea6d004e90494cb0c62c911082b2e8d9d8e /acinclude.m4 | |
parent | bbfcb7caf0bea5262f879434ee408ec3cbcf0421 (diff) |
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5607 :
When testing if we can add things to LDFLAGS, don't set LDFLAGS to CFLAGS
if the test determines that the flag cannot be added to LDFLAGS.
(Simple typo: LDFLAGS_saved was being set to CFLAGS instead of LDFLAGS.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38434 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index e41f70a4b0..5898b14f1a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1668,7 +1668,7 @@ AC_DEFUN([AC_WIRESHARK_LDFLAGS_CHECK], [GCC_OPTION="$1" AC_MSG_CHECKING(whether we can add $GCC_OPTION to LDFLAGS) if test "x$ac_supports_W_linker_passthrough" = "xyes"; then - LDFLAGS_saved="$CFLAGS" + LDFLAGS_saved="$LDFLAGS" LDFLAGS="$LDFLAGS $GCC_OPTION" AC_LINK_IFELSE([ AC_LANG_SOURCE([[ |