Without this patch packages that use pkg-config to find libnl3 includes fail to build because the path in the .pc file doesn't match actual install location. Make it the way upstream proposes and let whomever depend on libnl use pkg-config to find it.
Signed-off-by: Paul Fertser <[email protected]> --- package/libs/libnl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index 857bbe2..adf743a 100644 --- a/package/libs/libnl/Makefile +++ b/package/libs/libnl/Makefile @@ -86,7 +86,7 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/libnl $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/include/libnl3/* $(1)/usr/include/libnl/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnl3 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig -- 1.9.1 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
