1From b997b9e7d4744020409223afddc7299a771eb52d Mon Sep 17 00:00:00 2001
2From: Pascal de Bruijn <pmjdebruijn@pcode.nl>
3Date: Thu, 7 Nov 2019 09:55:32 +0100
4Subject: [PATCH] Don't fail on existing symlink
5
6Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
7---
8 Makefile | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/Makefile b/Makefile
12index 837e7f7..7c116c9 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -238,7 +238,7 @@ install: $(RUN) libs
16 	$(INSTALL) -d $(INST_LIBRARY)
17 	$(INSTALL) -m 0644 $(LIBRARIES) $(INST_LIBRARY)
18 ifdef LINKED_LIB_SH
19-	cd $(INST_LIBRARY) && ln -s $(notdir $(LIB_SH) $(LINKED_LIB_SH))
20+	cd $(INST_LIBRARY) && ln -sf $(notdir $(LIB_SH) $(LINKED_LIB_SH))
21 endif
22 	$(INSTALL) -d $(INST_BINARY)
23 	$(INSTALL) $(RUN) $(INST_BINARY)
24