Mercurial > libavformat.hg
comparison Makefile @ 880:21a5cb38dd5e libavformat
SONAME support for shared libs
patch by Luca Barbato < .. lu_zero .. @@ .. gentoo .. . .. org .. >
author | diego |
---|---|
date | Sat, 10 Dec 2005 17:14:24 +0000 |
parents | 3637f3d43e55 |
children | da1d5db0ce5c |
comparison
equal
deleted
inserted
replaced
879:1f093ae472d8 | 880:21a5cb38dd5e |
---|---|
78 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc | 78 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc |
79 endif | 79 endif |
80 | 80 |
81 LIB= $(LIBPREF)avformat$(LIBSUF) | 81 LIB= $(LIBPREF)avformat$(LIBSUF) |
82 ifeq ($(BUILD_SHARED),yes) | 82 ifeq ($(BUILD_SHARED),yes) |
83 LIBVERSION=$(LAVFMAJOR) | |
83 SLIBNAME= $(SLIBPREF)avformat$(SLIBSUF) | 84 SLIBNAME= $(SLIBPREF)avformat$(SLIBSUF) |
84 AVCLIBS+=-lavcodec$(BUILDSUF) -L../libavcodec -lavutil$(BUILDSUF) -L../libavutil | 85 AVCLIBS+=-lavcodec$(BUILDSUF) -L../libavcodec -lavutil$(BUILDSUF) -L../libavutil |
85 ifeq ($(CONFIG_DARWIN),yes) | 86 ifeq ($(CONFIG_DARWIN),yes) |
86 SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION) | 87 SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION) |
87 endif | 88 endif |