summaryrefslogtreecommitdiff
path: root/libavutil/Makefile
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-12-10 17:14:24 +0000
committerDiego Biurrun <diego@biurrun.de>2005-12-10 17:14:24 +0000
commit5a872801d5e5e287525adfd33bcefa94b185988e (patch)
tree3c1a3cbceae2984ad989ed86c2dfb2deb35f09ed /libavutil/Makefile
parent64428d02d1005e911a95476d25d514ffcf41f4d3 (diff)
SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. > Originally committed as revision 4730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/Makefile')
-rw-r--r--libavutil/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/Makefile b/libavutil/Makefile
index 4308cd09fd..515bf95eca 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -22,6 +22,7 @@ SRCS := $(OBJS:.o=.c)
LIB= $(LIBPREF)avutil$(LIBSUF)
ifeq ($(BUILD_SHARED),yes)
+LIBVERSION=$(LAVUMAJOR)
SLIBNAME= $(SLIBPREF)avutil$(SLIBSUF)
ifeq ($(CONFIG_DARWIN),yes)
SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION)