diff --git a/core/cxx_stl_setup.mk b/core/cxx_stl_setup.mk index 7d3ca5c562..55c4975387 100644 --- a/core/cxx_stl_setup.mk +++ b/core/cxx_stl_setup.mk @@ -84,6 +84,7 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),) my_ldflags += -nodefaultlibs my_cxx_ldlibs += $($($(my_prefix)OS)_$(my_link_type)_gcclibs) else + my_static_libraries += libc++demangle ifeq (arm,$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) my_static_libraries += libunwind_llvm my_ldflags += -Wl,--exclude-libs,libunwind_llvm.a