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

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

am 59112a2d: Merge "Static binaries with libc++ need libs c, m and dl."

* commit '59112a2d':
  Static binaries with libc++ need libs c, m and dl.
parents fc267120 59112a2d
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,11 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
        my_shared_libraries += libc++
        my_shared_libraries += libc++
    else
    else
        my_static_libraries += libc++_static
        my_static_libraries += libc++_static
        ifndef LOCAL_IS_HOST_MODULE
            ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
                my_static_libraries += libm libc libdl
            endif
        endif
    endif
    endif


    ifdef LOCAL_IS_HOST_MODULE
    ifdef LOCAL_IS_HOST_MODULE