aboutsummaryrefslogtreecommitdiff
path: root/libs/libftdi
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-02-02 13:37:49 +0100
committerNicolas Thill <nico@openwrt.org>2015-02-02 13:37:49 +0100
commit38b243a6c47115cd5637730f1ecca749aa08cf55 (patch)
treea693ff3d7ac3104d012832dfbb4d381be9f0f260 /libs/libftdi
parent21f572176dd7bad51d2d3c022fd4017e8192df28 (diff)
libftdi: fix pkgconfig file
Signed-off-by: Nicolas Thill <nico@openwrt.org>
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