summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-13 07:29:39 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-13 07:29:39 +0000
commitb5fb0f162e5f61ba96d96620b441f9ee81391768 (patch)
tree0b98dd0b48ab3068619413e3bed7400e0a53126b /libstdc++-v3
parentbcebd7e8a12cac304e74f4768d290c52ab190582 (diff)
downloadgcc-b5fb0f162e5f61ba96d96620b441f9ee81391768.tar.gz
* testsuite/lib/libstdc++.exp (libstdc++_init): Require
native testing before setting v3-sharedlib to 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105361 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 8b2755b77fe..efc041e0c15 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+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
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp
index ba7da26ce21..3c5397bc5ae 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++.exp
@@ -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"
}