summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2011-09-06 15:48:14 +0200
committerClément Bœsch <ubitux@gmail.com>2011-09-11 01:48:29 +0200
commitc975cfaef24cc2f32d08efd363af5bbf9b3a6119 (patch)
treea569a5a139f85885b25f10562666cb3659f2b34d /Makefile
parent754d7f23ee6e459ba9e8d4723aaad87ec479d6d8 (diff)
downloadffmpeg-c975cfaef24cc2f32d08efd363af5bbf9b3a6119.tar.gz
build: fix install rule with --progs-suffix.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ef1f3d416e..09bdfb1bf3 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ PROGS-$(CONFIG_FFPROBE) += ffprobe
PROGS-$(CONFIG_FFSERVER) += ffserver
PROGS := $(PROGS-yes:%=%$(EXESUF))
+INSTPROGS = $(PROGS-yes:%=%$(PROGSSUF)$(EXESUF))
OBJS = $(PROGS-yes:%=%.o) cmdutils.o
TESTTOOLS = audiogen videogen rotozoom tiny_psnr base64
HOSTPROGS := $(TESTTOOLS:%=tests/%)
@@ -116,7 +117,7 @@ install-progs-$(CONFIG_SHARED): install-libs
install-progs: install-progs-yes $(PROGS)
$(Q)mkdir -p "$(BINDIR)"
- $(INSTALL) -c -m 755 $(PROGS) "$(BINDIR)"
+ $(INSTALL) -c -m 755 $(INSTPROGS) "$(BINDIR)"
install-data: $(DATA_FILES)
$(Q)mkdir -p "$(DATADIR)"