浏览代码

add pkgconfig information for popt library

Modify makefile to record pkgconfig information for the popt library.

Signed-off-by: Mike Brady <[email protected]>

SVN-Revision: 43994
John Crispin 10 年之前
父节点
当前提交
748d452899
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      package/libs/popt/Makefile

+ 2 - 0
package/libs/popt/Makefile

@@ -45,6 +45,8 @@ define Build/InstallDev
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/popt.h $(1)/usr/include/
 	$(INSTALL_DIR) $(1)/usr/lib
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/
+	$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
+	$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/popt.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libpopt/install