Change to shrlib versioning for Darwin build.

This commit is contained in:
Janet B. Anderson
2002-06-26 14:38:59 +00:00
parent 387d47c79c
commit 01a1126eb5

View File

@@ -368,8 +368,9 @@ $(INSTALL_SHRLIB)/lib%: lib%
@echo "Installing library $@"
@$(INSTALL_LIBRARY) -d -m 555 $< $(INSTALL_SHRLIB)
ifdef SHRLIB_VERSION
@$(RM) $(@:%.$(SHRLIB_VERSION)=%)
ln -s $< $(@:%.$(SHRLIB_VERSION)=%)
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)
ln -s $< $(subst .$(SHRLIB_VERSION),,$@)
endif # SHRLIB_VERSION
ifneq ($(INSTALL_TCLLIB),$(INSTALL_BIN))