g77.exp (g77_link_flags): Remove check for libg2c.so in setting ld_library_path.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Mon, 21 Jan 2002 21:29:12 +0000 (21:29 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 21 Jan 2002 21:29:12 +0000 (21:29 +0000)
* lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
ld_library_path.

From-SVN: r49055

gcc/testsuite/ChangeLog
gcc/testsuite/lib/g77.exp

index d806caf6677da35785b691098a1e7acd5562a08f..9ada70f7c4f3578257107c4db2cceb629b0eeec7 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * lib/g77.exp (g77_link_flags): Remove check for libg2c.so in setting
+       ld_library_path.
+
 2002-01-21  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.dg/20020218-1.c: New test.
index 2a08f15fef6b471e2adc68f701a9123f7eb481fb..78a3384d68b9f835fc61a4518e4abeca5cb957c2 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2001, 2002 Free
+# Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -83,9 +84,7 @@ proc g77_link_flags { paths } {
     if { $gccpath != "" } {
       if [file exists "${gccpath}/libf2c/.libs/libg2c.a"] {
           append flags "-L${gccpath}/libf2c/.libs "
-         if [file exists "${gccpath}/libf2c/.libs/libg2c.so"] {
-             append ld_library_path ":${gccpath}/libf2c/.libs"
-         }
+          append ld_library_path ":${gccpath}/libf2c/.libs"
       }
       if [file exists "${gccpath}/libf2c/libfrtbegin.a"] {
           append flags "-L${gccpath}/libf2c "