From a7e7d90d9ff8a2b6dee846b043eb41bda241975b Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 2 Oct 2017 22:11:22 +0000 Subject: Move install_name_tool to a separate make target. llvm-svn: 314731 --- .../Python/lldbsuite/test/functionalities/load_unload/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile index 6af173928f3..9a954a201cf 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile @@ -8,10 +8,12 @@ CXX_SOURCES := main.cpp include $(LEVEL)/Makefile.rules .PHONY: -a.out: lib_a lib_b lib_c lib_d hidden_lib_d +a.out: lib_a lib_b lib_c lib_d hidden_lib_d install_name_tool lib_%: $(MAKE) -f $*.mk + +install_name_tool: ifeq ($(OS),Darwin) install_name_tool -id @executable_path/libloadunload_d.dylib libloadunload_d.dylib endif -- cgit v1.2.3