Commit 6e0227ab 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 1b5295e0
[buildout] [buildout]
extends = extends =
../perl/buildout.cfg ../perl/buildout.cfg
../libcap-ng/buildout.cfg
../xz-utils/buildout.cfg ../xz-utils/buildout.cfg
[util-linux] [util-linux]
recipe = slapos.recipe.cmmi 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 url = https://www.kernel.org/pub/linux/utils/util-linux/v2.31/util-linux-2.31.1.tar.xz
md5sum = 7733b583dcb51518944d42aa62ef19ea md5sum = 7733b583dcb51518944d42aa62ef19ea
configure-options = configure-options =
...@@ -31,7 +33,7 @@ configure-options = ...@@ -31,7 +33,7 @@ configure-options =
--disable-setterm --disable-setterm
--enable-libsmartcols --enable-libsmartcols
--disable-switch_root --disable-switch_root
--disable-tinfo --without-tinfo
--disable-tls --disable-tls
--disable-ul --disable-ul
--disable-unshare --disable-unshare
...@@ -43,5 +45,7 @@ configure-options = ...@@ -43,5 +45,7 @@ configure-options =
--without-slang --without-slang
--without-selinux --without-selinux
--without-audit --without-audit
--with-cap-ng=${libcap-ng:location}
environment = environment =
PATH=${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s PATH=${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
LDFLAGS=-L${libcap-ng:location}/lib -Wl,-rpath=${libcap-ng:location}/lib
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