summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-31 06:19:53 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-31 06:19:53 +0000
commit86061e5f2b7f2cde3edd25615de2e2bbd95b1ff9 (patch)
treee520a2972df02ecafdca80b638d642dbb3319fb0
parent9f9350ab90cd4f2f27655866871b11b23f14ac9e (diff)
gdb wants to dlopen "libthread_db.so.1", so be sure to assign
the correct soname
-rw-r--r--libpthread/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 9fe3759dd..5558a2360 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -93,7 +93,7 @@ shared: all
fi;
if [ -f $(LIBTHREAD_DB) ] ; then \
set -e; \
- $(LD) $(LDFLAGS) -soname=$(LIBTHREAD_DB_SHARED).$(MAJOR_VERSION) \
+ $(LD) $(LDFLAGS) -soname=$(LIBTHREAD_DB_SHARED).1 \
-o $(LIBTHREAD_DB_SHARED_FULLNAME) $(START_FILES) --whole-archive $(LIBTHREAD_DB) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc $(END_FILES); \