summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-06-22 09:00:11 +0000
committerRoland McGrath <roland@gnu.org>1995-06-22 09:00:11 +0000
commit487253ea1f81b8223334200ada86a3d3b7de6d9c (patch)
tree0befcdc81388e86f1e550635437ffa0385cf34dc /Makerules
parentb1099b2fba10e78325715f65e23af286705bf86e (diff)
downloadglibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.tar.gz
glibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.tar.xz
glibc-487253ea1f81b8223334200ada86a3d3b7de6d9c.zip
Tue Jun 20 02:18:19 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* Makerules (lib%.so: lib%_pic.a): Pass -soname switch giving the
 	library's name including $(libprefix) and major version number.

	* locale/locale-ctype.c (allocate_arrays): Use xmalloc and bzero
 	in place of xcalloc.

	* Makeconfig (prefix, exec_prefix, libprefix): Instead of
 	`ifndef', use the $(origin) function to only set these if they are
 	undefined, and not if they are defined to empty.

	* gnu-versions.h: New file.
	* features.h (__GNU_LIBRARY__): Increase value to 5.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 2191251f35..c6de338570 100644
--- a/Makerules
+++ b/Makerules
@@ -554,6 +554,7 @@ ifeq (yes,$(build-shared))
 # on other shared objects.
 lib%.so: lib%_pic.a
 	$(LINK.o) -shared -o $@ \
+		  -soname lib$(libprefix)$*.so$($(@F)-version) \
 		  $(LDFLAGS.so) $(LDFLAGS-$(notdir $*).so) \
 		  -L$(firstword $(objdir) .)  -L$(common-objpfx:%/=%) \
 		  $(LDLIBS-$(notdir $*).so) -Wl,--whole-archive $< \