diff --git a/libwvdrmengine/oemcrypto/test/common.mk b/libwvdrmengine/oemcrypto/test/common.mk index 44e0841e..38430199 100644 --- a/libwvdrmengine/oemcrypto/test/common.mk +++ b/libwvdrmengine/oemcrypto/test/common.mk @@ -1,8 +1,12 @@ LOCAL_PATH:= $(call my-dir) +ifneq ($(TARGET_ARCH),mips) + # Tests need to be compatible with devices that do not support gnu hash-style LOCAL_LDFLAGS+=-Wl,--hash-style=both +endif + LOCAL_SRC_FILES:= \ oemcrypto_test.cpp \ oemcrypto_test_android.cpp \