Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 320d9764 authored by Dan Albert's avatar Dan Albert Committed by Android Git Automerger
Browse files

am 071af0ac: am b8765797: Merge "Add unwinder linking to STL setup."

* commit '071af0ac':
  Add unwinder linking to STL setup.
parents 8985a409 071af0ac
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -65,6 +65,18 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
        my_ldflags += -nodefaultlibs
        my_ldflags += -nodefaultlibs
        my_ldlibs += -lpthread -lm
        my_ldlibs += -lpthread -lm
        my_ldlibs += $($(my_prefix)$(HOST_OS)_$(my_link_type)_gcclibs)
        my_ldlibs += $($(my_prefix)$(HOST_OS)_$(my_link_type)_gcclibs)
    else
        ifeq (arm,$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH))
            my_static_libraries += libunwind_llvm
        else
            my_static_libraries += libunwindbacktrace
        endif

        ifeq ($(my_link_type),static)
            my_static_libraries += libdl
        else
            my_shared_libraries += libdl
        endif
    endif
    endif
else ifneq ($(filter $(my_cxx_stl),stlport stlport_static),)
else ifneq ($(filter $(my_cxx_stl),stlport stlport_static),)
    ifndef LOCAL_IS_HOST_MODULE
    ifndef LOCAL_IS_HOST_MODULE