From fd2e9f075025be4b72f38ccfca95259990043fba Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 2 Feb 2015 13:38:08 +0100 Subject: [PATCH] libftdi1: fix pkgconfig file Signed-off-by: Nicolas Thill --- libs/libftdi1/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/libftdi1/Makefile b/libs/libftdi1/Makefile index 693cfce50..ed7ff2d2d 100644 --- a/libs/libftdi1/Makefile +++ b/libs/libftdi1/Makefile @@ -67,6 +67,12 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/cmake/libftdi1/* $(1)/usr/lib/cmake/libftdi1/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libftdi1.pc $(1)/usr/lib/pkgconfig/libftdi1.pc + $(SED) \ + 's,/usr/include,$$$${prefix}/include,g' \ + $(1)/usr/lib/pkgconfig/libftdi1.pc + $(SED) \ + 's,/usr/lib,$$$${prefix}/lib,g' \ + $(1)/usr/lib/pkgconfig/libftdi1.pc endef define Package/libftdi1/install