Commit f05c19d1 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

libstdc++.exp (libstdc++_init): Require native testing before setting v3-sharedlib to 1.

	* testsuite/lib/libstdc++.exp (libstdc++_init): Require
	native testing before setting v3-sharedlib to 1.

From-SVN: r105361
parent abf513b5
2005-10-13 Hans-Peter Nilsson <hp@axis.com>
* testsuite/lib/libstdc++.exp (libstdc++_init): Require
native testing before setting v3-sharedlib to 1.
2005-10-12 Joe Buck <Joe.Buck@synopsys.com>
* docs/html/27_io/howto.html: Use reference to ifstream when
......
......@@ -133,7 +133,7 @@ proc libstdc++_init { testfile } {
set v3-sharedlib 0
set sharedlibdir [lookfor_file $blddir src/.libs/libstdc++.so]
if {$sharedlibdir != ""} {
if { [string match "*-*-linux*" $target_triplet] } {
if { [string match "*-*-linux*" $target_triplet] && [isnative] } {
set v3-sharedlib 1
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