From ff6de6b180fd7c931410f81fb404ab3dbf30d40b Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Fri, 6 Oct 2017 22:15:35 +0200 Subject: Makefile: generate stripped CLI tools directly instead of copying unstripped ones first Now works with --disable-stripping. Signed-off-by: Marton Balint --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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) -- cgit v1.1