aboutsummaryrefslogtreecommitdiffstats
path: root/science/code_saturne/files/patch-build-aux_cs__compile__build.py
blob: df2ad14be434d3ba99637ae458181ee854d77e36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- build-aux/cs_compile_build.py.orig	2023-12-14 20:49:47 UTC
+++ build-aux/cs_compile_build.py
@@ -394,8 +394,9 @@ def get_dynamic_lib_dep_flags(pkg, top_builddir=None, 
         if libs:
             cmd_line += libs + " "
 
-    if rpath_list:
-        cmd_line += "-Wl,-rpath -Wl," + ':'.join(rpath_list)
+    # Not needed on FreeBSD, we have ldconfig, and it causes the libs to get linked against $DESTDIR
+    #if rpath_list:
+    #    cmd_line += "-Wl,-rpath -Wl," + ':'.join(rpath_list)
 
     return cmd_line.rstrip()