From 40436d81692c9ecf3606ef724978bde12a7dece5 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 5 May 2016 19:54:42 +0000 Subject: [PATCH] Enable dg-reqire-sharedlib on Solaris * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*. From-SVN: r235931 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/testsuite/lib/libstdc++.exp | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6e2d7ce1518..ab6df14d103 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2016-05-05 Rainer Orth + + * testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*. + 2016-05-05 Jonathan Wakely * testsuite/experimental/filesystem/path/native/string.cc: Add diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 9a930de166f..0f7f6d0f29b 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -184,8 +184,9 @@ proc libstdc++_init { testfile } { set v3-sharedlib 0 set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.$shlib_ext] if {$sharedlibdir != ""} { - if { ([string match "*-*-linux*" $target_triplet] - || [string match "*-*-gnu*" $target_triplet]) + if { ([string match "*-*-gnu*" $target_triplet] + || [string match "*-*-linux*" $target_triplet] + || [string match "*-*-solaris*" $target_triplet]) && [isnative] } then { set v3-sharedlib 1 verbose -log "shared library support detected" -- 2.30.2