1From 31175fb408a4f5e85e39a9aabd4a29f9d9c1fe25 Mon Sep 17 00:00:00 2001
2From: Gregory Anders <greg@gpanders.com>
3Date: Wed, 21 Oct 2020 15:26:52 -0600
4Subject: [PATCH] Preserve links when installing libmetis
5
6---
7 Makefile | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/Makefile b/Makefile
11index 7631955..57fd022 100644
12--- a/Makefile
13+++ b/Makefile
14@@ -76,7 +76,7 @@ ifeq (,$(MY_METIS_LIB))
15 	@mkdir -p $(INSTALL_LIB)
16 	@mkdir -p $(INSTALL_INCLUDE)
17 	@mkdir -p $(INSTALL_DOC)
18-	- $(CP) lib/libmetis.* $(INSTALL_LIB)
19+	- $(CP) -d lib/libmetis.* $(INSTALL_LIB)
20 	- $(CP) metis-5.1.0/manual/manual.pdf $(INSTALL_DOC)/METIS_manual.pdf
21 	- $(CP) metis-5.1.0/README.txt $(INSTALL_DOC)/METIS_README.txt
22         # the following is needed only on the Mac, so *.dylib is hardcoded:
23