gnu: f2fs-tools-static: Fix build after f2fs-tools update.

Fixes <https://bugs.gnu.org/45494>.

* gnu/packages/linux.scm (f2fs-tools-static)[arguments]<#:configure-flags>:
Modify libuuid_CFLAGS, libblkid_CFLAGS.
This commit is contained in:
Danny Milosavljevic 2020-12-28 15:00:27 +01:00
parent 4e342a560c
commit a099d833af
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -5127,9 +5127,10 @@ (define-public f2fs-tools/static
(let ((libuuid-static (assoc-ref %build-inputs "libuuid:static")) (let ((libuuid-static (assoc-ref %build-inputs "libuuid:static"))
(libuuid (assoc-ref %build-inputs "libuuid"))) (libuuid (assoc-ref %build-inputs "libuuid")))
(list (list
(string-append "libuuid_CFLAGS=-I" libuuid "/include") (string-append "libuuid_CFLAGS=-I" libuuid "/include/uuid")
(string-append "libuuid_LIBS=-L" libuuid-static "/lib -luuid") (string-append "libuuid_LIBS=-L" libuuid-static "/lib -luuid")
(string-append "libblkid_CFLAGS=-I" libuuid "/include") (string-append "libblkid_CFLAGS=-I" libuuid "/include/uuid "
"-I" libuuid "/include/blkid")
(string-append "libblkid_LIBS=-L" libuuid-static "/lib -lblkid"))) (string-append "libblkid_LIBS=-L" libuuid-static "/lib -lblkid")))
#:disallowed-references (,util-linux) #:disallowed-references (,util-linux)
#:phases #:phases