Make sure that install-progs has the proper dependencies when compiling
authorDiego Biurrun <diego@biurrun.de>
Sat, 11 Feb 2006 19:01:54 +0000 (19:01 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 11 Feb 2006 19:01:54 +0000 (19:01 +0000)
against shared libs.

Originally committed as revision 4984 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index e91763b..2c3a7d7 100644 (file)
--- 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)"