aboutsummaryrefslogtreecommitdiff
path: root/libs/libftdi
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libftdi')
-rw-r--r--libs/libftdi/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile
index 7b6ab90d5..058fd5085 100644
--- a/libs/libftdi/Makefile
+++ b/libs/libftdi/Makefile
@@ -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