Testing whether -static-libtool-libs causes a non-libtool library to be linked dynamically is effectively a test of the compiler's preference in this case. The Cray compiler prefers static libraries if not told otherwise.
* tests/static.at [static linking flags for programs]: Do not expect -static-libtool-libs to fail. --- tests/static.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/static.at b/tests/static.at index 19125de..5f4eace 100644 --- a/tests/static.at +++ b/tests/static.at @@ -344,7 +344,7 @@ for withdep in no yes; do echo "### test whether non-libtool library liba3 was linked statically" func_move_libs a3 $prefix3 $prefix1 $prefix2 func_test_exec $all_static `$per_deplib && echo 3 13 23 31 123 123a` - func_test_exec_fail -static -static-libtool-libs `$per_deplib && echo 1 2 12` + func_test_exec_fail -static `$per_deplib && echo 1 2 12` func_restore_libs a3 $prefix3 cd .. -- 2.0.0 _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool