summaryrefslogtreecommitdiffstats
path: root/test/module.rules
diff options
context:
space:
mode:
Diffstat (limited to 'test/module.rules')
-rw-r--r--test/module.rules7
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))