summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-10-06 22:15:35 +0200
committerMarton Balint <cus@passwd.hu>2017-10-10 19:45:14 +0200
commitff6de6b180fd7c931410f81fb404ab3dbf30d40b (patch)
treec1d595e8967b20a6be9a0fb19e57d07e098b0d9c /Makefile
parent17ba9e123f1e66fad92f0ff6bd7aaa7ddfac7ff4 (diff)
downloadffmpeg-streaming-ff6de6b180fd7c931410f81fb404ab3dbf30d40b.zip
ffmpeg-streaming-ff6de6b180fd7c931410f81fb404ab3dbf30d40b.tar.gz
Makefile: generate stripped CLI tools directly instead of copying unstripped ones first
Now works with --disable-stripping. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4a1253a..642651d 100644
--- a/Makefile
+++ b/Makefile
@@ -97,8 +97,12 @@ include $(SRC_PATH)/doc/examples/Makefile
libavcodec/utils.o libavformat/utils.o libavdevice/avdevice.o libavfilter/avfilter.o libavutil/utils.o libpostproc/postprocess.o libswresample/swresample.o libswscale/utils.o : libavutil/ffversion.h
$(PROGS): %$(PROGSSUF)$(EXESUF): %$(PROGSSUF)_g$(EXESUF)
+ifeq ($(STRIPTYPE),direct)
+ $(STRIP) -o $@ $<
+else
$(CP) $< $@
$(STRIP) $@
+endif
%$(PROGSSUF)_g$(EXESUF): $(FF_DEP_LIBS)
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(OBJS-$*) $(FF_EXTRALIBS)
OpenPOWER on IntegriCloud