From 36c737a9c3d906e85c97c919cd6ddb4f95eca2c9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 6 Oct 2020 10:28:29 +0200 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d0f6a96b3e..574cffaf9d 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 -- cgit v1.2.3