From a4848db6fedefb3bed0f09335c563ffef42f2cae Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sat, 11 Feb 2006 19:01:54 +0000
Subject: [PATCH] Make sure that install-progs has the proper dependencies when
 compiling against shared libs.

Originally committed as revision 4984 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index e91763b9efe..2c3a7d7eb64 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,11 @@ documentation:
 
 install: install-progs install-libs install-headers install-man $(INSTALLVHOOK)
 
+ifeq ($(BUILD_SHARED),yes)
+install-progs: $(PROG) install-libs
+else
 install-progs: $(PROG)
+endif
 	install -d "$(bindir)"
 	install -c $(INSTALLSTRIP) -m 755 $(PROG) "$(bindir)"
 
-- 
GitLab