From db35d9a01010336dbd0ffe29f9bd3198401b8e58 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Tue, 29 Mar 2011 18:37:37 +0200 Subject: [PATCH] Fix linux sdk build. This is a temporary patch until we update the prebuilt/ tree accordingly to include libxcb.so for Linux. Change-Id: I76d9966bfb73bf3f5ca35cc30f6e12fb262dc2b2 --- tools/emulator/opengl/tests/ut_renderer/Android.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/emulator/opengl/tests/ut_renderer/Android.mk b/tools/emulator/opengl/tests/ut_renderer/Android.mk index 1fe2d078c..d48dec4ac 100644 --- a/tools/emulator/opengl/tests/ut_renderer/Android.mk +++ b/tools/emulator/opengl/tests/ut_renderer/Android.mk @@ -1,3 +1,9 @@ +# Building this module breaks the Linux build because +# libxcb.so is not installed in the i686-linux-glibc2.7-4.4.3 +# prebuilt sysroot. Since rebuilding it will take some time, here's a +# quick fix to unbreak it. +# +ifneq (,$(BUILD_EMULATOR_OPENGL)) LOCAL_PATH:=$(call my-dir) @@ -50,3 +56,5 @@ LOCAL_LDLIBS := -lpthread -lX11 -lrt include $(BUILD_HOST_EXECUTABLE) endif # HOST_OS == linux + +endif # BUILD_EMULATOR_OPENGL