* configure.in, configure: Add `-ldl -lw' for Solaris linking.

This commit is contained in:
Brendan Kehoe 1996-01-05 22:00:32 +00:00
parent 6b4fe21d5e
commit 127841e484
3 changed files with 6 additions and 2 deletions

View 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,

2
gdb/configure vendored
View File

@ -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

View 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