diff options
author | Bradley Sepos <[email protected]> | 2018-05-29 04:35:24 -0400 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-05-29 04:35:24 -0400 |
commit | 70e7bb5f55b3fca9e2cf21c1e087cb5c553fa4df (patch) | |
tree | 138da5126194c8064df1285e894d4b3d1e6f88cc /test/module.rules | |
parent | dbe412e9ce9843da83360eee8b203a04c5d545d7 (diff) |
contrib: test: Strip dll and cli binary in build phase if debug=none.
Diffstat (limited to 'test/module.rules')
-rw-r--r-- | test/module.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/module.rules b/test/module.rules index 5dd638815..d9bd8434b 100644 --- a/test/module.rules +++ b/test/module.rules @@ -31,6 +31,13 @@ test.xclean: test.clean $(TEST.exe): | $(dir $(TEST.exe)) $(TEST.exe): $(TEST.c.o) $(call TEST.GCC.EXE++,$@,$^ $(TEST.libs)) +ifeq (none,$(FFMPEG.GCC.g)) +ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) + $(STRIP.exe) -s $(TEST.exe) +else + $(STRIP.exe) $(TEST.exe) +endif +endif $(TEST.c.o): $(LIBHB.a) $(TEST.c.o): | $(dir $(TEST.c.o)) |