Fix Android remote debugging tests running on Windows

Use make based OS check, instad of relying on shell.

llvm-svn: 314488
This commit is contained in:
Eugene Zemtsov 2017-09-29 03:25:25 +00:00
parent a9d928c396
commit 74e94836e7
1 changed files with 4 additions and 1 deletions

View File

@ -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