Browse Source

gdb wants to dlopen "libthread_db.so.1", so be sure to assign
the correct soname

Eric Andersen 20 years ago
parent
commit
86061e5f2b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/Makefile

+ 1 - 1
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); \