aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@cygnus>1996-01-05 22:00:32 +0000
committerBrendan Kehoe <brendan@cygnus>1996-01-05 22:00:32 +0000
commit127841e484b8850f91a36b85f11d29b5eafbe512 (patch)
treec0e10f96fcc2945c165b883b1f2050bdfc640c59 /gdb
parent6b4fe21d5e0ee63cd0dd1ed8d9fd8f19ea30e3bc (diff)
downloadgdb-127841e484b8850f91a36b85f11d29b5eafbe512.zip
gdb-127841e484b8850f91a36b85f11d29b5eafbe512.tar.gz
gdb-127841e484b8850f91a36b85f11d29b5eafbe512.tar.bz2
* configure.in, configure: Add `-ldl -lw' for Solaris linking.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rwxr-xr-xgdb/configure2
-rw-r--r--gdb/configure.in2
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 30375b1..038dc9d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/configure b/gdb/configure
index 3e72ddb..8df0f25 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 b8b138d..0831ee0 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