Mercurial > libavutil.hg
changeset 16:0e94608e337f libavutil
Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >
author | diego |
---|---|
date | Sat, 14 Jan 2006 03:39:02 +0000 |
parents | af59e84e283d |
children | 314e61f57c42 |
files | Makefile |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Jan 12 22:43:26 2006 +0000 +++ b/Makefile Sat Jan 14 03:39:02 2006 +0000 @@ -22,7 +22,9 @@ LIB= $(LIBPREF)avutil$(LIBSUF) ifeq ($(BUILD_SHARED),yes) -LIBVERSION=$(LAVUMAJOR) +LIBVERSION=$(LAVUVERSION) +LIBMAJOR=$(LAVUMAJOR) +NAME=avutil SLIBNAME= $(SLIBPREF)avutil$(SLIBSUF) endif @@ -62,8 +64,12 @@ install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" else install -d $(libdir) - install $(INSTALLSTRIP) -m 755 $(SLIBNAME) $(libdir)/libavutil-$(VERSION)$(SLIBSUF) - ln -sf libavutil-$(VERSION)$(SLIBSUF) $(libdir)/$(SLIBNAME) + install $(INSTALLSTRIP) -m 755 $(SLIBNAME) \ + $(libdir)/$(SLIBNAME_WITH_VERSION) + ln -sf $(SLIBNAME_WITH_VERSION) \ + $(libdir)/$(SLIBNAME_WITH_MAJOR) + ln -sf $(SLIBNAME_WITH_VERSION) \ + $(libdir)/$(SLIBNAME) $(LDCONFIG) || true endif else