Enable libuuid in e2fsprogs (#729)

pull/730/head
Kelvin Zhang 3 years ago committed by GitHub
parent c06b038e6e
commit ff4a0d582c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/e/e2fsprogs/xmake.lua

@ -22,6 +22,7 @@ package("e2fsprogs")
os.rm("scrub")
local configs = {"MKDIR_P=mkdir -p", "--disable-e2initrd-helper"}
table.insert(configs, "--exec-prefix=" .. package:installdir())
table.insert(configs, "--enable-libuuid")
if package:config("shared") then
if package:is_plat("linux") then
table.insert(configs, "--enable-elf-shlibs")
@ -39,4 +40,5 @@ package("e2fsprogs")
on_test(function (package)
assert(package:has_cfuncs("ext2fs_open", {includes = "ext2fs/ext2fs.h"}))
assert(package:has_cfuncs("uuid_parse", {includes = "uuid/uuid.h"}))
end)

Loading…
Cancel
Save