From 121aa60c465644ce752ce757d8bd83056368b0a1 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 26 Jul 2016 11:54:47 -0700 Subject: [PATCH] Link to shared libraries with the full paths. This ensures that we're not accidentally linking the wrong version of a library with the same name thanks to -L. Test: Still builds. Change-Id: I22e9e28412844ff4f8bda42ebbc300ea6574e474 --- core/definitions.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/definitions.mk b/core/definitions.mk index afb4558d2..d3c113e6b 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1692,7 +1692,7 @@ $(hide) $(PRIVATE_CXX) \ $(PRIVATE_TARGET_LIBGCC) \ $(PRIVATE_TARGET_GLOBAL_LDFLAGS) \ $(PRIVATE_LDFLAGS) \ - $(call normalize-target-libraries,$(PRIVATE_ALL_SHARED_LIBRARIES)) \ + $(PRIVATE_ALL_SHARED_LIBRARIES) \ -o $@ \ $(PRIVATE_TARGET_CRTEND_SO_O) \ $(PRIVATE_LDLIBS) @@ -1780,7 +1780,7 @@ $(hide) $(PRIVATE_CXX) -pie \ $(PRIVATE_TARGET_LIBGCC) \ $(PRIVATE_TARGET_GLOBAL_LDFLAGS) \ $(PRIVATE_LDFLAGS) \ - $(call normalize-target-libraries,$(PRIVATE_ALL_SHARED_LIBRARIES)) \ + $(PRIVATE_ALL_SHARED_LIBRARIES) \ -o $@ \ $(PRIVATE_TARGET_CRTEND_O) \ $(PRIVATE_LDLIBS)