diff --git a/core/fuzz_test.mk b/core/fuzz_test.mk index 29e1dde48..2cc2e2c6d 100644 --- a/core/fuzz_test.mk +++ b/core/fuzz_test.mk @@ -22,7 +22,7 @@ ifeq ($(my_fuzzer),libFuzzer) LOCAL_STATIC_LIBRARIES += libFuzzer else ifeq ($(my_fuzzer),honggfuzz) LOCAL_STATIC_LIBRARIES += honggfuzz_libhfuzz - +LOCAL_REQUIRED_MODULES += honggfuzz LOCAL_LDFLAGS += \ "-Wl,--wrap=strcmp" \ "-Wl,--wrap=strcasecmp" \ @@ -74,4 +74,8 @@ LOCAL_MULTILIB := both endif endif +ifndef LOCAL_STRIP_MODULE +LOCAL_STRIP_MODULE := keep_symbols +endif + include $(BUILD_EXECUTABLE)