From e34bb09eab1987c7c17488d648c64722467b66d0 Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Tue, 15 Apr 2014 14:52:16 -0700 Subject: [PATCH] Explicitly link libstdc++.a for static gtest executables. Change-Id: I29e3a4036264acd00dfa3229c9d0fc52ee20830e --- core/target_test_internal.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/core/target_test_internal.mk b/core/target_test_internal.mk index e531356ab..7b99678f9 100644 --- a/core/target_test_internal.mk +++ b/core/target_test_internal.mk @@ -12,6 +12,7 @@ LOCAL_C_INCLUDES += bionic \ bionic/libstdc++/include \ external/stlport/stlport LOCAL_SHARED_LIBRARIES += libstlport +LOCAL_STATIC_LIBRARIES += libstdc++ endif ifndef LOCAL_MODULE_PATH