From 53e7f53d6b040b32083bb71b72d1d4fbf8c9a575 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 12 Apr 2017 09:42:47 +0200 Subject: Android.mk: Fix libkmod use On Android libkmod.h is nested under libkmod directory, so we should include appropriately. Also we need to link with it. Signed-off-by: Arkadiusz Hiler Reviewed-by: Petri Latvala --- benchmarks/Android.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'benchmarks') diff --git a/benchmarks/Android.mk b/benchmarks/Android.mk index c0fa09ff..faa73b71 100644 --- a/benchmarks/Android.mk +++ b/benchmarks/Android.mk @@ -18,6 +18,7 @@ define add_benchmark LOCAL_CFLAGS += -Wno-error=return-type # Excessive complaining for established cases. Rely on the Linux version warnings. LOCAL_CFLAGS += -Wno-sign-compare + LOCAL_LDFLAGS += -lkmod LOCAL_MODULE := $1_benchmark LOCAL_MODULE_TAGS := optional @@ -26,6 +27,7 @@ define add_benchmark LOCAL_STATIC_LIBRARIES := libintel_gpu_tools LOCAL_SHARED_LIBRARIES := libpciaccess \ + libkmod \ libdrm \ libdrm_intel -- cgit v1.2.3