summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-02-11 19:01:54 +0000
committerDiego Biurrun <diego@biurrun.de>2006-02-11 19:01:54 +0000
commita4848db6fedefb3bed0f09335c563ffef42f2cae (patch)
treea14982a14946eb951ef3494dda12824893c36b60 /Makefile
parentb12f8273fa62978511ebe7b86d68269459c5921d (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e91763b9ef..2c3a7d7eb6 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)"