From dabb1af43201bd768c85b6fbef3dec7e55c0b9d6 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(-) 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