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