aboutsummaryrefslogtreecommitdiff
path: root/libs/libffi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-11 18:34:24 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-11 18:40:09 +0200
commit2f86c894de96e30d925450bea22eb59adea5eeec (patch)
tree15c9944d4c7f497da3bb3e47d04e53642ee57c7a /libs/libffi
parent5250fae8896c0829aa48332399c18e6f4023779e (diff)
libffi: fix include path in pkg-config file, fixes glib2 build
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'libs/libffi')
-rw-r--r--libs/libffi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile
index b5daa13b6..106969cbd 100644
--- a/libs/libffi/Makefile
+++ b/libs/libffi/Makefile
@@ -63,6 +63,7 @@ define Build/InstallDev
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
$(1)/usr/lib/pkgconfig/
+ sed -i -e 's,includedir=.*,includedir=$$$${prefix}/include,' $(1)/usr/lib/pkgconfig/libffi.pc
$(INSTALL_DIR) $(1)/usr/include
$(CP) \