Commit fa10d969 authored by Jérome Perrin's avatar Jérome Perrin

component/util-linux: build with libcap-ng

Explicitly build with libcap-ng instead of depending on presence of the
development library on the host.

Also fix the way of disabling tinfo, there was warning at the end of
configure saying this option is not used
parent 5dbaa9a3
[buildout]
extends =
../perl/buildout.cfg
../libcap-ng/buildout.cfg
../xz-utils/buildout.cfg
[util-linux]
recipe = slapos.recipe.cmmi
shared = true
url = https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-2.31.1.tar.xz
md5sum = 7733b583dcb51518944d42aa62ef19ea
configure-options =
......@@ -31,7 +33,7 @@ configure-options =
--disable-setterm
--enable-libsmartcols
--disable-switch_root
--disable-tinfo
--without-tinfo
--disable-tls
--disable-ul
--disable-unshare
......@@ -43,5 +45,8 @@ configure-options =
--without-slang
--without-selinux
--without-audit
--with-cap-ng=${libcap-ng:location}
make-options =
LDFLAGS=-L${libcap-ng:location}/lib -Wl,-rpath=${libcap-ng:location}/lib
environment =
PATH=${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment