libftdi: fix pkgconfig support by installing .pc into staging dir

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@39520 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2014-02-06 22:46:40 +00:00
parent 486ba2e8c6
commit 03c2c42e2e

View File

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