From 4a85f3c92a1329ec33f44dfe91fca9890cff3e7b Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Thu, 21 Mar 2019 10:15:00 -0700 Subject: [PATCH] Fix sed command on Mac builds Bug: 119423884 Test: Manually test sed command on Mac Change-Id: I8df32b2476a01e2b758ea81f00dae0b6179ba79a --- rootdir/update_and_install_ld_config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/update_and_install_ld_config.mk b/rootdir/update_and_install_ld_config.mk index 912a73e12..f62c3df5b 100644 --- a/rootdir/update_and_install_ld_config.mk +++ b/rootdir/update_and_install_ld_config.mk @@ -134,8 +134,8 @@ else # if TARGET_VNDK_USE_CORE_VARIANT is not set. In this case, we need to remove # the entire line in the linker config so that we are not left with a line # like: - # namespace.sphal.link.default.shared_libs += - $(hide) sed -i.bak -e "s?^.*\+= %VNDK_USING_CORE_VARIANT_LIBRARIES%\$$??" $@ + # namespace.vndk.link.vndk_in_system.shared_libs = + $(hide) sed -i.bak -e 's?^.*= %VNDK_USING_CORE_VARIANT_LIBRARIES%$$??' $@ endif $(hide) echo -n > $(PRIVATE_INTERMEDIATES_DIR)/private_llndk && \