From 127841e484b8850f91a36b85f11d29b5eafbe512 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Fri, 5 Jan 1996 22:00:32 +0000 Subject: [PATCH] * configure.in, configure: Add `-ldl -lw' for Solaris linking. --- gdb/ChangeLog | 4 ++++ gdb/configure | 2 +- gdb/configure.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 30375b1b716..038dc9de70f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 5 13:59:16 1996 Brendan Kehoe + + * configure.in, configure: Add `-ldl -lw' for Solaris linking. + Fri Jan 5 12:02:00 1996 Steve Chamberlain * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt, diff --git a/gdb/configure b/gdb/configure index 3e72ddb5e77..8df0f2546e2 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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 diff --git a/gdb/configure.in b/gdb/configure.in index b8b138d843c..0831ee0647a 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -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 -- 2.30.2