From ea4c1afd050fbfab4bd4d3d79cf7784e0fd0825f Mon Sep 17 00:00:00 2001 From: WuZhen Date: Thu, 28 Apr 2016 15:34:58 +0800 Subject: [PATCH] android: enable dlopen() on all architectures Cc: "11.2 11.1" Signed-off-by: Chih-Wei Huang Reviewed-by: Emil Velikov --- Android.common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.common.mk b/Android.common.mk index 610b213f303..4f02fc7371e 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -54,6 +54,7 @@ LOCAL_CFLAGS += \ -DHAVE___BUILTIN_CLZLL \ -DHAVE___BUILTIN_UNREACHABLE \ -DHAVE_PTHREAD=1 \ + -DHAVE_DLOPEN \ -fvisibility=hidden \ -Wno-sign-compare @@ -65,7 +66,6 @@ ifeq ($(strip $(MESA_ENABLE_ASM)),true) ifeq ($(TARGET_ARCH),x86) LOCAL_CFLAGS += \ -DUSE_X86_ASM \ - -DHAVE_DLOPEN \ endif endif -- 2.30.2