aboutsummaryrefslogtreecommitdiffstats
path: root/testing/suitesparse/0002-remove-rpath.patch
blob: b20166e86c82351d06e0784132299505e234c729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Jakub Jirutka <jakub@jirutka.cz>
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
 
     #---------------------------------------------------------------------------