summary refs log tree commit diff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-12-28 15:00:27 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2020-12-28 15:00:27 +0100
commita099d833af3afe69c50dbd016e9ed117462ca7ef (patch)
treec4edbbb4b41690dde76d160431d8deb0c2a3e890
parent4e342a560ccd9d962680abd2ff64a7da1dba632f (diff)
downloadguix-a099d833af3afe69c50dbd016e9ed117462ca7ef.tar.gz
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.
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 45a105ba11..99ad2b421c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5127,9 +5127,10 @@ disks and SD cards.  This package provides the userland utilities.")
        (let ((libuuid-static (assoc-ref %build-inputs "libuuid:static"))
              (libuuid (assoc-ref %build-inputs "libuuid")))
          (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 "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")))
        #:disallowed-references (,util-linux)
        #:phases