[buildout]

extends =
  ../attr/buildout.cfg

parts = libcap-ng

[libcap-ng]
recipe = slapos.recipe.cmmi
shared = true
url = https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.10.tar.gz
md5sum = 57dc267e2949cdecb651a929f9206572
location = @@LOCATION@@
configure-options =
  --with-python=no
  --with-python3=no
# we set -lpthread to workaround https://github.com/stevegrubb/libcap-ng/issues/9
environment =
  LDFLAGS=-lpthread