forked from OSchip/llvm-project
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:
parent
a9d928c396
commit
74e94836e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue