aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/servers/computing/slurm/pmix-configure.patch
blob: 21c2197c3ff143bb4c47d43ddbf497ed5f402bf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index 1cf53bc..ab68441 100755
--- a/configure
+++ b/configure
@@ -21207,7 +21207,7 @@ rm -f conftest.err conftest.i conftest.$ac_ext
                 as_fn_error $? "error processing $x_ac_cv_pmix_libdir: PMIx v3.x was already found in one of the previous paths" "$LINENO" 5
               fi
               _x_ac_pmix_v3_found="1"
-              PMIX_V3_CPPFLAGS="-I$x_ac_cv_pmix_dir/include"
+              PMIX_V3_CPPFLAGS="-I$x_ac_cv_pmix_dir/include -DPMIXP_V3_LIBPATH=\\\"$x_ac_cv_pmix_libdir\\\""
               if test "$ac_with_rpath" = "yes"; then
                 PMIX_V3_LDFLAGS="-Wl,-rpath -Wl,$x_ac_cv_pmix_libdir -L$x_ac_cv_pmix_libdir"
               else