diff options
author | Marton Balint | 2017-10-06 22:15:35 +0200 |
---|---|---|
committer | Marton Balint | 2017-10-10 19:45:14 +0200 |
commit | ff6de6b180fd7c931410f81fb404ab3dbf30d40b (patch) | |
tree | c1d595e8967b20a6be9a0fb19e57d07e098b0d9c /Makefile | |
parent | 17ba9e123f1e66fad92f0ff6bd7aaa7ddfac7ff4 (diff) |
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-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |