File: rpath

package info (click to toggle)
slurm-wlm-contrib 25.05.4-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 50,864 kB
  • sloc: ansic: 546,579; exp: 61,212; python: 20,435; sh: 9,371; javascript: 6,528; makefile: 4,136; perl: 3,717; pascal: 131
file content (29 lines) | stat: -rw-r--r-- 1,212 bytes parent folder | download | duplicates (3)
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
Description: Fix an rpath issue
 The libdir has to match the source package name in order to host
 slurm's private shared library.
Author: Mehdi Dogguy <mehdi@debian.org>
Forwarded: not-needed
Last-Update: 2018-01-12

--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@
 dnl Prologue
 dnl
 
-AC_INIT([slurm],m4_esyscmd([perl -ne 'print,exit if s/^\s*VERSION:\s*(\d*.\d*).\S*/\1/i' ./META | sed 's/^v//' | tr '-' '_' | tr -d '\n']),[],[],[https://slurm.schedmd.com])
+AC_INIT([slurm-wlm],m4_esyscmd([perl -ne 'print,exit if s/^\s*VERSION:\s*(\d*.\d*).\S*/\1/i' ./META | sed 's/^v//' | tr '-' '_' | tr -d '\n']),[],[],[https://slurm.schedmd.com])
 AC_PREREQ([2.59])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_AUX_DIR([auxdir])
--- a/auxdir/slurm.m4
+++ b/auxdir/slurm.m4
@@ -96,7 +96,7 @@
     # You will notice " or ' each does something different when resolving
     # variables.  Some need to be resolved now ($libdir) and others
     # ($(top_builddir)) need to be resolved when dealing with the Makefile.am's
-    LIB_SLURM="-Wl,-rpath=$libdir/slurm"
+    LIB_SLURM="-Wl,-rpath=$libdir/slurm-wlm"
     LIB_SLURM=$LIB_SLURM' -L$(top_builddir)/src/api/.libs -lslurmfull'
     AC_MSG_RESULT([shared]);
   fi