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---
7Upstream-Status: Pending
8
9 Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/Makefile b/Makefile
13index 7631955..57fd022 100644
14--- a/Makefile
15+++ b/Makefile
16@@ -76,7 +76,7 @@ ifeq (,$(MY_METIS_LIB))
17 	@mkdir -p $(INSTALL_LIB)
18 	@mkdir -p $(INSTALL_INCLUDE)
19 	@mkdir -p $(INSTALL_DOC)
20-	- $(CP) lib/libmetis.* $(INSTALL_LIB)
21+	- $(CP) -d lib/libmetis.* $(INSTALL_LIB)
22 	- $(CP) metis-5.1.0/manual/manual.pdf $(INSTALL_DOC)/METIS_manual.pdf
23 	- $(CP) metis-5.1.0/README.txt $(INSTALL_DOC)/METIS_README.txt
24         # the following is needed only on the Mac, so *.dylib is hardcoded:
25