3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-06 10:28:29 +02:00
parent 2fb12dd1bb
commit 36c737a9c3
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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