* configure.in, configure: Add `-ldl -lw' for Solaris linking.
authorBrendan Kehoe <brendan@cygnus>
Fri, 5 Jan 1996 22:00:32 +0000 (22:00 +0000)
committerBrendan Kehoe <brendan@cygnus>
Fri, 5 Jan 1996 22:00:32 +0000 (22:00 +0000)
gdb/ChangeLog
gdb/configure
gdb/configure.in

index 30375b1b7161cbf6f6edc7cea63dc79f5d005d7b..038dc9de70fc2ae1263f36733dfa83509452aafc 100644 (file)
@@ -1,3 +1,7 @@
+Fri Jan  5 13:59:16 1996  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * configure.in, configure: Add `-ldl -lw' for Solaris linking.
+
 Fri Jan  5 12:02:00 1996  Steve Chamberlain  <sac@slash.cygnus.com>
 
        * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
index 3e72ddb5e77a72e41ec4cbe3eeed957588a8614e..8df0f2546e27900e332fb80fb2d30e938c02cfcc 100755 (executable)
@@ -2109,7 +2109,7 @@ fi
             sparc-sun-solaris2*)
                 if test "x$GCC" = "xyes";
                 then
-                    X_LIBS="-Wl,-Bstatic -lX11 -lXext -lX11 -Wl,-Bdynamic"
+                    X_LIBS="-Wl,-Bstatic -lX11 -lXext -lX11 -Wl,-Bdynamic -ldl -lw"
                 else
                     if test "x$x_libraries" != "x" ;
                     then
index b8b138d843c331857cea57806b2585469a9127e8..0831ee0647a18f10dec119f995988b55b7481b60 100644 (file)
@@ -142,7 +142,7 @@ if test "${enable_gdbtk}" = "yes"; then
             sparc-sun-solaris2*)
                 if test "x$GCC" = "xyes";
                 then
-                    X_LIBS="-Wl,-Bstatic -lX11 -lXext -lX11 -Wl,-Bdynamic"
+                    X_LIBS="-Wl,-Bstatic -lX11 -lXext -lX11 -Wl,-Bdynamic -ldl -lw"
                 else
                     if test "x$x_libraries" != "x" ;
                     then