changeset 3032:63d7bab7b9ea libavcodec

Move Darwin shared library build peculiarities to configure.
author diego
date Thu, 12 Jan 2006 00:00:00 +0000
parents 0f5f311f2f94
children e8599ab02b38
files Makefile libpostproc/Makefile
diffstat 2 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jan 10 20:07:29 2006 +0000
+++ b/Makefile	Thu Jan 12 00:00:00 2006 +0000
@@ -392,11 +392,6 @@
 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
 endif
 
-# Darwin specific stuff
-ifeq ($(CONFIG_DARWIN),yes)
-SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBPREF)avcodec$(SLIBSUF),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION)
-endif
-
 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S)
 OBJS := $(OBJS) $(ASM_OBJS)
 
--- a/libpostproc/Makefile	Tue Jan 10 20:07:29 2006 +0000
+++ b/libpostproc/Makefile	Thu Jan 12 00:00:00 2006 +0000
@@ -1,3 +1,4 @@
+#FIXME: This Makefile differs from all the others for no good reason...
 
 include ../../config.mak
 
@@ -8,11 +9,7 @@
 SPPLIBMAJOR = $(SPPLIBNAME).$(SPPMAJOR)
 SPPLIB = $(SPPLIBNAME).$(SPPVERSION)
 LIBVERSION = $(SPPLIB)
-ifeq ($(CONFIG_DARWIN),yes)
-SPPLIBMAJOR = $(SLIBPREF)postproc.$(SPPMAJOR)$(SLIBSUF)
-SPPLIB = $(SLIBPREF)postproc.$(SPPVERSION)$(SLIBSUF)
-SHFLAGS += -Wl,-install_name,$(libdir)/$(SPPLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION)
-endif
+SLIBNAME = $(SLIBPREF)postproc$(SLIBSUF)
 endif
 PPLIB = $(LIBPREF)postproc$(LIBSUF)