Browse Source

libftdi: fix pkgconfig file

Signed-off-by: Nicolas Thill <nico@openwrt.org>
lilik-openwrt-22.03
Nicolas Thill 10 years ago
parent
commit
38b243a6c4
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libs/libftdi/Makefile

+ 6
- 0
libs/libftdi/Makefile View File

@ -46,6 +46,12 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libftdi.{a,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
$(SED) \
's,/usr/include,$$$${prefix}/include,g' \
$(1)/usr/lib/pkgconfig/libftdi.pc
$(SED) \
's,/usr/lib,$$$${prefix}/lib,g' \
$(1)/usr/lib/pkgconfig/libftdi.pc
endef
define Package/libftdi/install


Loading…
Cancel
Save