aboutsummaryrefslogtreecommitdiffstats
path: root/science/code_saturne/files/patch-build-aux_cs__link__library.py
blob: fb1f88e3ff7f4f5283996aefcbc0c42ecfd73491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- build-aux/cs_link_library.py.orig	2023-12-14 20:36:11 UTC
+++ build-aux/cs_link_library.py
@@ -263,8 +263,7 @@ def build_shared_library(linker,
     for o in other:
         if o in ignore_deps:
             continue
-        if o[:2] == '-R':
-            cmd += ["-Wl,-rpath", "-Wl,"+o[2:]]
+    # Not useful on FreeBSD (we have lsconfig) and causes libs to be linked against $DESTDIR
         else:
             cmd.append(o)