1require libcap-ng.inc
2
3EXTRA_OECONF += "--without-python3"
4
5BBCLASSEXTEND = "native nativesdk"
6
7do_install:append() {
8	# Moving libcap-ng to base_libdir
9	if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
10		mkdir -p ${D}/${base_libdir}/
11		mv -f ${D}${libdir}/libcap-ng.so.* ${D}${base_libdir}/
12		relpath=${@os.path.relpath("${base_libdir}", "${libdir}")}
13		ln -sf ${relpath}/libcap-ng.so.0.0.0 ${D}${libdir}/libcap-ng.so
14	fi
15}
16