android: enable dlopen() on all architectures
authorWuZhen <wuzhen@jidemail.com>
Thu, 28 Apr 2016 07:34:58 +0000 (15:34 +0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 11:31:29 +0000 (12:31 +0100)
Cc: "11.2 11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Android.common.mk

index 610b213f3031126b733fee4ecc381541c5e69607..4f02fc7371e33126f4470dbd322abcb52b5b3c71 100644 (file)
@@ -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