summaryrefslogtreecommitdiff
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-05-03 14:35:23 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2017-05-11 13:52:21 +0100
commite2ff12e919b5f887083225d96f4060a122c12eab (patch)
treef8abfc2f40540f887326c817b3ef0a682a8446c5 /src/gallium/targets
parent06260da16e74f69273a857099b8537b3c957de44 (diff)
Android: rework libelf dependencies
Add libelf as a library dependency rather than explicitly listing its include paths. This should work for Android M and later which have the necessary exported directories in libelf. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/Android.mk3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk
index e95e24a2317..a605f1f5f01 100644
--- a/src/gallium/targets/dri/Android.mk
+++ b/src/gallium/targets/dri/Android.mk
@@ -57,10 +57,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
# sort GALLIUM_SHARED_LIBS to remove any duplicates
LOCAL_SHARED_LIBRARIES += $(sort $(GALLIUM_SHARED_LIBS))
-LOCAL_STATIC_LIBRARIES :=
-
ifeq ($(MESA_ENABLE_LLVM),true)
-LOCAL_STATIC_LIBRARIES += libelf
LOCAL_LDLIBS += -lgcc
endif