From: WuZhen Date: Thu, 28 Apr 2016 07:34:58 +0000 (+0800) Subject: android: enable dlopen() on all architectures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea4c1afd050fbfab4bd4d3d79cf7784e0fd0825f;p=mesa.git android: enable dlopen() on all architectures Cc: "11.2 11.1" Signed-off-by: Chih-Wei Huang Reviewed-by: Emil Velikov --- 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