And while at it, include all symlinks for the library file in the package. Signed-off-by: Michael Heimpold <m...@heimpold.de>
Index: libs/libconfig/Makefile =================================================================== --- libs/libconfig/Makefile (revision 31296) +++ libs/libconfig/Makefile (working copy) @@ -9,7 +9,7 @@ PKG_NAME:=libconfig PKG_VERSION:=1.4.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.hyperrealm.com/libconfig @@ -49,11 +49,13 @@ $(CP) $(PKG_INSTALL_DIR)/usr/include/libconfig.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.{a,so*} $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/usr/lib/pkgconfig + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ endef define Package/libconfig/install $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so.* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libconfig)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel