summaryrefslogtreecommitdiffstats
path: root/libhb/module.rules
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-05-29 04:35:24 -0400
committerBradley Sepos <[email protected]>2018-05-29 04:35:24 -0400
commit70e7bb5f55b3fca9e2cf21c1e087cb5c553fa4df (patch)
tree138da5126194c8064df1285e894d4b3d1e6f88cc /libhb/module.rules
parentdbe412e9ce9843da83360eee8b203a04c5d545d7 (diff)
contrib: test: Strip dll and cli binary in build phase if debug=none.
Diffstat (limited to 'libhb/module.rules')
-rw-r--r--libhb/module.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/module.rules b/libhb/module.rules
index 65525cd07..80828577c 100644
--- a/libhb/module.rules
+++ b/libhb/module.rules
@@ -46,6 +46,9 @@ libhb.build: $(LIBHB.dll)
$(LIBHB.dll): | $(dirname $(LIBHB.dll) $(LIBHB.lib))
$(LIBHB.dll): $(LIBHB.c.o) $(LIBHB.yasm.o)
$(call LIBHB.GCC.DYLIB++,$@,$^ $(LIBHB.dll.libs))
+ifeq (none,$(FFMPEG.GCC.g))
+ $(STRIP.exe) -s $(LIBHB.dll)
+endif
endif