diff options
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9730838e3e..968aa9b58f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2630,11 +2630,17 @@ arrays when needed.") '(#:tests? #f ; No tests. #:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")) + "SYSTEMDPATH=lib" (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")) #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "Makefile.inc" + (("\\$\\(prefix\\)/usr") "$(prefix)")) + #t)) (delete 'configure) (add-before 'build 'set-CC (lambda _ |