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:
parent
2fb12dd1bb
commit
36c737a9c3
1 changed files with 2 additions and 3 deletions
|
@ -7373,9 +7373,8 @@ persistent over reboots.")
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list
|
(list
|
||||||
(string-append "PREFIX=''")
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
|
(string-append "LIBDIR=$(PREFIX)/lib")
|
||||||
(string-append "LIBDIR=/lib")
|
|
||||||
(string-append
|
(string-append
|
||||||
"CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
|
"CC=" (assoc-ref %build-inputs "gcc") "/bin/gcc"))
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Reference in a new issue