projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f5721
)
libftdi: fix pkgconfig file
author
Nicolas Thill
<nico@openwrt.org>
Mon, 2 Feb 2015 12:37:49 +0000
(13:37 +0100)
committer
Nicolas Thill
<nico@openwrt.org>
Mon, 2 Feb 2015 12:37:49 +0000
(13:37 +0100)
Signed-off-by: Nicolas Thill <nico@openwrt.org>
libs/libftdi/Makefile
patch
|
blob
|
history
diff --git
a/libs/libftdi/Makefile
b/libs/libftdi/Makefile
index 7b6ab90d5183bdd3407900a158ee7bba2fa2b77b..058fd5085a6930532900d50692b9edae82410939 100644
(file)
--- 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