@@ -8,19 +8,15 @@ inherit autotools-autoreconf pkgconfig
DEPENDS += "libm ${DEPENDS_LIBC}"
DEPENDS_LIBC = "libpthread libdl"
DEPENDS_LIBC:HOST_LIBC_mingw = ""
-DEPENDS_${PN} += "libm ${DEPENDS_LIBC}"
FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.a"
FILES_${PN}-dev += "${libdir}/libnl/cli/*/*.la"
FILES_${PN}-dbg += "${libdir}/libnl/cli/*/.debug"
inherit auto-package-libs
-AUTO_PACKAGE_LIBS = "nl-3 nl-route-3 nl-nf-3 nl-genl-3 nl-cli-3"
+AUTO_PACKAGE_LIBS = "nl-3 nl-route-3 nl-nf-3 nl-genl-3 nl-cli-3 nl-idiag-3"
AUTO_PACKAGE_LIBS_LIBDIR = "${libdir}:lib:,.0 ${sharedlibdir}:lib:,.0:"
AUTO_PACKAGE_LIBS_PCPREFIX = "lib"
-AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}"
-RDEPENDS_${PN}-libnl-nf-3 += "libnl-3 libnl-route-3"
-RDEPENDS_${PN}-libnl-cli-3 += "libnl-3 libnl-route-3 libnl-genl-3 libnl-nf-3"
FILES_${PN}-libnl-route-3 += "${sysconfdir}/libnl/"
inherit auto-package-utils
@@ -29,9 +25,27 @@ nl-class-add nl-class-delete nl-classid-lookup \
nl-class-list nl-cls-add nl-cls-delete nl-cls-list \
nl-link-list nl-pktloc-lookup nl-qdisc-add \
nl-qdisc-delete nl-qdisc-list"
-AUTO_PACKAGE_UTILS_RDEPENDS += "libnl-route-3 libnl-genl-3 libnl-nf-3"
+AUTO_PACKAGE_UTILS_DEPENDS += "libc libdl libm libnl-3 libnl-cli-3 libnl-genl-3 \
+ libnl-idiag-3 libnl-nf-3 libnl-route-3 libpthread"
+AUTO_PACKAGE_UTILS_RDEPENDS += "libdl libm libnl-3 libnl-cli-3 libnl-cli-3 \
+ libnl-genl-3 libnl-idiag-3 libnl-nf-3 libnl-route-3 \
+ libpthread"
-RDEPENDS_${PN} += "libm libpthread libc"
-AUTO_PACKAGE_UTILS_RDEPENDS += "${PN} libnl-3"
-AUTO_PACKAGE_LIBS_DEV_DEPENDS = "${PN}-dev_${PV}"
-AUTO_PACKAGE_LIBS_DEV_RDEPENDS = "${PN}-dev_${PV}"
+AUTO_PACKAGE_LIBS_DEV_DEPENDS += "libc libm libpthread"
+AUTO_PACKAGE_LIBS_RDEPENDS += "libc libm libpthread"
+DEPENDS_${PN}-libnl-nf-3 += "libnl-route-3 libnl-3"
+RDEPENDS_${PN}-libnl-nf-3 += "libnl-route-3 libnl-3"
+DEPENDS_${PN}-libnl-route-3 += "libnl-3"
+RDEPENDS_${PN}-libnl-route-3 += "libnl-3"
+DEPENDS_${PN}-libnl-idiag-3 += "libnl-3"
+RDEPENDS_${PN}-libnl-idiag-3 += "libnl-3"
+DEPENDS_${PN}-libnl-genl-3 += "libnl-3"
+RDEPENDS_${PN}-libnl-genl-3 += "libnl-3"
+DEPENDS_${PN}-libnl-cli-3 += "libnl-genl-3 libnl-idag-3 libnl-nf-3 \
+ libnl-route-3 libnl-3 libdl"
+RDEPENDS_${PN}-libnl-cli-3 += "libnl-genl-3 libnl-idag-3 libnl-nf-3 \
+ libnl-route-3 libnl-3 libdl"
+DEPENDS_${PN} += "libc libm ${DEPENDS_LIBC} libnl-3 libnl-cli-3 \
+ libnl-genl-3 libnl-idiag-3 libnl-nf-3 libnl-route-3"
+RDEPENDS_${PN} += "libm libpthread libc libdl libnl-3 libnl-cli-3 libnl-genl-3 \
+ libnl-idiag-3 libnl-nf-3 libnl-route-3"