diff options
-rw-r--r-- | m4/fp_find_cxx_std_lib.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/fp_find_cxx_std_lib.m4 b/m4/fp_find_cxx_std_lib.m4 index 09f4524d89..7ceb2f10e5 100644 --- a/m4/fp_find_cxx_std_lib.m4 +++ b/m4/fp_find_cxx_std_lib.m4 @@ -51,9 +51,9 @@ EOF fi try_libs() { - dnl Try to link a plain object with CC manually + dnl Try to link a plain object with CXX manually AC_MSG_CHECKING([for linkage against '${3}']) - if "$CC" -o actest actest.o ${1} 2>/dev/null; then + if "$CXX" -o actest actest.o ${1} 2>/dev/null; then CXX_STD_LIB_LIBS="${3}" p="`"$CXX" --print-file-name ${2}`" d="`dirname "$p"`" |