From 2f86c894de96e30d925450bea22eb59adea5eeec Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 11 May 2016 18:34:24 +0200 Subject: [PATCH] libffi: fix include path in pkg-config file, fixes glib2 build Signed-off-by: Felix Fietkau --- libs/libffi/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libffi/Makefile b/libs/libffi/Makefile index b5daa13b67..106969cbde 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) \ -- 2.30.2