OSDN Git Service

android: ensure building with stlport ics-x86
authorChih-Wei Huang <cw_huang@htc.com>
Tue, 31 Jan 2012 09:15:07 +0000 (17:15 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 6 Apr 2012 03:30:02 +0000 (11:30 +0800)
Without adding the include path of stlport, it may include (incorrect)
headers from the toolchain.

Android.llvm.mk
src/glsl/Android.mk

index f9e6e9e..877bd3c 100644 (file)
@@ -77,6 +77,7 @@ LLVM_ROOT_PATH := external/llvm
 include $(LLVM_ROOT_PATH)/llvm-device-build.mk
 endif
 
+include external/stlport/libstlport.mk
 # this is a shared library
 ifeq ($(strip $(LOCAL_MODULE_CLASS)),SHARED_LIBRARIES)
 LOCAL_SHARED_LIBRARIES += libstlport
index d7d17dd..bcf0711 100644 (file)
@@ -44,6 +44,7 @@ LOCAL_C_INCLUDES := \
 
 LOCAL_MODULE := libmesa_glsl
 
+include external/stlport/libstlport.mk
 include $(LOCAL_PATH)/Android.gen.mk
 include $(MESA_COMMON_MK)
 include $(BUILD_STATIC_LIBRARY)