From 74e94836e72c14b223863764a8388062ea9561b2 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Fri, 29 Sep 2017 03:25:25 +0000 Subject: Fix Android remote debugging tests running on Windows Use make based OS check, instad of relying on shell. llvm-svn: 314488 --- .../Python/lldbsuite/test/functionalities/load_unload/Makefile | 5 ++++- 1 file changed, 4 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 31572f2b82a..6af173928f3 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/Makefile @@ -12,7 +12,10 @@ a.out: lib_a lib_b lib_c lib_d hidden_lib_d lib_%: $(MAKE) -f $*.mk - if [ "$(OS)" = "Darwin" -a -f libloadunload_d.dylib ]; then install_name_tool -id @executable_path/libloadunload_d.dylib libloadunload_d.dylib; fi +ifeq ($(OS),Darwin) + install_name_tool -id @executable_path/libloadunload_d.dylib libloadunload_d.dylib +endif + hidden_lib_d: $(MAKE) -C hidden -- cgit v1.2.3