From a72eb481f1eeee1c92684f02b5a882b4ea0650d6 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 9 Aug 2022 06:55:27 -0700 Subject: build: handle hard link failure in make install. * Makefile (HARDLINK): Print a diagnostic if the link command fails and ignore the situation. Hard links are restricted on Android. On that platform, txr being available under the names txrlisp and txrvm is likely of limited utility, so we won't waste space by making copies of the executable. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6aa30b3a..b038f556 100644 --- a/Makefile +++ b/Makefile @@ -518,7 +518,7 @@ endef define HARDLINK $(call ABBREV3,HARDLINK,$(1),$(2)) - $(call SH,$(LN) -f $(1) $(2)) + $(call SH,$(LN) -f $(1) $(2) || printf "(HARDLINK failed)\n") endef PREINSTALL := : -- cgit v1.2.3