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

Commit e2280085 authored by Ryan Prichard's avatar Ryan Prichard Committed by android-build-merger
Browse files

Merge "Stop linking libdl.a into static bins"

am: fe43a3f2

Change-Id: I9209b793f37ac2a16294a50d2d83a0aa72134d28
parents 8e3afe7c fe43a3f2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -182,7 +182,9 @@ ifneq ($(filter hwaddress,$(my_sanitize)),)
  my_shared_libraries += $($(LOCAL_2ND_ARCH_VAR_PREFIX)HWADDRESS_SANITIZER_RUNTIME_LIBRARY)
  ifneq ($(filter EXECUTABLES NATIVE_TESTS,$(LOCAL_MODULE_CLASS)),)
    ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
      my_static_libraries := $(my_static_libraries) $($(LOCAL_2ND_ARCH_VAR_PREFIX)HWADDRESS_SANITIZER_STATIC_LIBRARY)
      my_static_libraries := $(my_static_libraries) \
                             $($(LOCAL_2ND_ARCH_VAR_PREFIX)HWADDRESS_SANITIZER_STATIC_LIBRARY) \
                             libdl
    endif
  endif
endif
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ ifneq ($(filter $(my_cxx_stl),libc++ libc++_static),)
        endif

        ifeq ($(my_link_type),static)
            my_static_libraries += libm libc libdl
            my_static_libraries += libm libc
        endif
    endif
else ifeq ($(my_cxx_stl),ndk)