summarylogtreecommitdiffstats
path: root/configure-rpath.patch
blob: 76c08bf9a6b22b5d07b7a4e800756ab565d3f34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- a/src/configure.ac	2014-01-17 21:16:36.000000000 +0100
+++ b/src/configure.ac	2014-11-07 14:04:25.882803929 +0100
@@ -32,8 +32,8 @@
 	[specify directory containing the bamtools library (http://github.com/pezmaster31/bamtools)]))
 
 if test "$with_bamtools" -a -d "$with_bamtools"; then
-    bamtools_ldflags="-Wl,-rpath,$with_bamtools/lib -L$with_bamtools/lib -Wl,-rpath,$with_bamtools/lib/bamtools -L$with_bamtools/lib/bamtools"
-    bamtools_include="-I$with_bamtools/include -I$with_bamtools/include/bamtools"
+    bamtools_ldflags=""
+    bamtools_include="-I$with_bamtools/include/bamtools"
 fi
 
 # Support for tcmalloc/jemalloc/hoard
@@ -52,17 +52,17 @@
 
 # Set library path to user-selected allocator
 if test "$with_hoard" -a -d "$with_hoard"; then
-	external_malloc_ldflags="-Wl,-rpath,$with_hoard -L$with_hoard"
+	external_malloc_ldflags=""
     enable_hoard=1
 fi
 
 if test "$with_tcmalloc" -a -d "$with_tcmalloc"; then
-	external_malloc_ldflags="-Wl,-rpath,$with_tcmalloc -L$with_tcmalloc"
+	external_malloc_ldflags=""
     enable_tcmalloc=1
 fi
 
 if test "$with_jemalloc" -a -d "$with_jemalloc"; then
-	external_malloc_ldflags="-Wl,-rpath,$with_jemalloc -L$with_jemalloc"
+	external_malloc_ldflags=""
     enable_jemalloc=1
 fi