From 88eba5488854f436eabbdffd42cfdff587cbf884 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 4 Jun 2016 22:21:32 +0200 Subject: testing/suitesparse: new abuild http://faculty.cse.tamu.edu/davis/suitesparse.html A collection of sparse matrix libraries --- testing/suitesparse/0002-remove-rpath.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testing/suitesparse/0002-remove-rpath.patch (limited to 'testing/suitesparse/0002-remove-rpath.patch') diff --git a/testing/suitesparse/0002-remove-rpath.patch b/testing/suitesparse/0002-remove-rpath.patch new file mode 100644 index 0000000000..b20166e86c --- /dev/null +++ b/testing/suitesparse/0002-remove-rpath.patch @@ -0,0 +1,17 @@ +From: Jakub Jirutka +Date: Wed, 08 Jun 2016 21:04:00 +0200 +Subject: [PATCH] Do not use -rpath + +Hard-coded rpath is bad, moreover when it contains absolute path to the +build directory. +--- a/SuiteSparse_config/SuiteSparse_config.mk ++++ b/SuiteSparse_config/SuiteSparse_config.mk +@@ -338,7 +338,7 @@ + + ifeq ($(UNAME),Linux) + # add the realtime library, librt, and SuiteSparse/lib +- LDLIBS += -lrt -Wl,-rpath=$(INSTALL_LIB) ++ LDLIBS += -lrt + endif + + #--------------------------------------------------------------------------- -- cgit v1.2.3