diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-01-14 03:39:02 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-14 03:39:02 +0000 |
commit | f3b60109163dd2850795b9ab6ab54de7fd971ee6 (patch) | |
tree | 0236ebcb2fe017e0260a2279f3333b12983c5719 /libavcodec/libpostproc/Makefile | |
parent | e03c822afdc04a885daab3dd0c8a6f3e37824039 (diff) | |
download | ffmpeg-f3b60109163dd2850795b9ab6ab54de7fd971ee6.tar.gz |
Create symbolic links for all library sonames and clean up Makefiles.
based on a patch by Luca Barbato < lu_zero -- at -- gentoo -- dot -- org >
Originally committed as revision 4851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libpostproc/Makefile')
-rw-r--r-- | libavcodec/libpostproc/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile index f497d6a1b6..3026b96f59 100644 --- a/libavcodec/libpostproc/Makefile +++ b/libavcodec/libpostproc/Makefile @@ -5,6 +5,9 @@ VPATH=$(SRC_PATH)/libavcodec/libpostproc LIB = $(LIBPREF)postproc$(LIBSUF) ifeq ($(SHARED_PP),yes) +LIBVERSION=$(SPPVERSION) +LIBMAJOR=$(SPPMAJOR) +NAME=postproc SLIBNAME = $(SLIBPREF)postproc$(SLIBSUF) endif @@ -53,8 +56,12 @@ ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" else install -d $(libdir) - install $(INSTALLSTRIP) -m 755 $(SLIBNAME) $(libdir)/libpostproc-$(VERSION)$(SLIBSUF) - ln -sf $(SLIBPREF)postproc-$(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 endif |