guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: libbpf: Fix erroneous use of DESTDIR.


From: guix-commits
Subject: 01/02: gnu: libbpf: Fix erroneous use of DESTDIR.
Date: Tue, 6 Oct 2020 05:19:12 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 36c737a9c3d906e85c97c919cd6ddb4f95eca2c9
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Oct 6 10:28:29 2020 +0200

    gnu: libbpf: Fix erroneous use of DESTDIR.
    
    It broke the pkg-config file and is almost always a mistake.
    
    * gnu/packages/linux.scm (libbpf)[arguments]: Correctly set PREFIX.
---
 gnu/packages/linux.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d0f6a96..574cffa 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7373,9 +7373,8 @@ persistent over reboots.")
      `(#:tests? #f                      ; no tests
        #:make-flags
        (list
-        (string-append "PREFIX=''")
-        (string-append "DESTDIR=" (assoc-ref %outputs "out"))
-        (string-append "LIBDIR=/lib")
+        (string-append "PREFIX=" (assoc-ref %outputs "out"))
+        (string-append "LIBDIR=$(PREFIX)/lib")
         (string-append
          "CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
        #:phases



reply via email to

[Prev in Thread] Current Thread [Next in Thread]