From 3cee76e6c9d13e7e3205ba351b9dfde906885c79 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Tue, 27 Feb 2007 00:18:38 +0000
Subject: [PATCH] Remove useless conditional.

Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/Makefile  | 2 --
 libavformat/Makefile | 2 --
 libavutil/Makefile   | 2 --
 libpostproc/Makefile | 2 --
 4 files changed, 8 deletions(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 7e4194817e2..41089d3a7f1 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -397,10 +397,8 @@ OBJS-$(TARGET_ARCH_BFIN)               += bfin/dsputil_bfin.o \
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 NAME=avcodec
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVCVERSION)
 LIBMAJOR=$(LAVCMAJOR)
-endif
 
 TESTS= imgresample-test fft-test
 ifeq ($(TARGET_ARCH_X86),yes)
diff --git a/libavformat/Makefile b/libavformat/Makefile
index aa609a6d1a1..1a9afb83e75 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -171,9 +171,7 @@ endif
 endif
 
 NAME=avformat
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVFVERSION)
 LIBMAJOR=$(LAVFMAJOR)
-endif
 
 include ../common.mak
diff --git a/libavutil/Makefile b/libavutil/Makefile
index 8155d5acb05..e7658f0916e 100644
--- a/libavutil/Makefile
+++ b/libavutil/Makefile
@@ -24,9 +24,7 @@ HEADERS = avutil.h common.h mathematics.h integer.h rational.h \
           random.h
 
 NAME=avutil
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVUVERSION)
 LIBMAJOR=$(LAVUMAJOR)
-endif
 
 include ../common.mak
diff --git a/libpostproc/Makefile b/libpostproc/Makefile
index a6765365d83..d30b4a18dea 100644
--- a/libpostproc/Makefile
+++ b/libpostproc/Makefile
@@ -7,10 +7,8 @@ incdir=$(prefix)/include/postproc
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 NAME=postproc
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(SPPVERSION)
 LIBMAJOR=$(SPPMAJOR)
-endif
 
 STATIC_OBJS=postprocess.o
 SHARED_OBJS=postprocess_pic.o
-- 
GitLab