diff --git a/config/ltmain.sh b/config/ltmain.sh index 9c5b49eb009b30b5309f670fa1c300a8fc7684da..c693fb14889983fa3a3bbb0493bf4ab4f0ee35a2 100644 --- a/config/ltmain.sh +++ b/config/ltmain.sh @@ -9511,11 +9511,11 @@ EOF # better not to revert the changes, otherwise, uncomment the following # lines. - # func_cc_basename $CC - # case $func_cc_basename_result in - # nagfor*) - # new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% -Wl,-pthread% -pthread%g'` ;; - # esac + func_cc_basename $CC + case $func_cc_basename_result in + nagfor*) + new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% -Wl,-pthread% -pthread%g'` ;; + esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list