Commit 40436d81 by Rainer Orth Committed by Rainer Orth

Enable dg-reqire-sharedlib on Solaris

	* testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.

From-SVN: r235931
parent c4f2425f
2016-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++.exp (libstdc++_init): Enable on *-*-solaris*.
2016-05-05 Jonathan Wakely <jwakely@redhat.com> 2016-05-05 Jonathan Wakely <jwakely@redhat.com>
* testsuite/experimental/filesystem/path/native/string.cc: Add * testsuite/experimental/filesystem/path/native/string.cc: Add
......
...@@ -184,8 +184,9 @@ proc libstdc++_init { testfile } { ...@@ -184,8 +184,9 @@ proc libstdc++_init { testfile } {
set v3-sharedlib 0 set v3-sharedlib 0
set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.$shlib_ext] set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.$shlib_ext]
if {$sharedlibdir != ""} { if {$sharedlibdir != ""} {
if { ([string match "*-*-linux*" $target_triplet] if { ([string match "*-*-gnu*" $target_triplet]
|| [string match "*-*-gnu*" $target_triplet]) || [string match "*-*-linux*" $target_triplet]
|| [string match "*-*-solaris*" $target_triplet])
&& [isnative] } then { && [isnative] } then {
set v3-sharedlib 1 set v3-sharedlib 1
verbose -log "shared library support detected" verbose -log "shared library support detected"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment