aboutsummaryrefslogtreecommitdiff
path: root/libs/libffi
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-11-18 22:43:59 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2015-11-18 22:52:52 +0100
commitc1137b6db7c461ddc3d2ddac674ba73bc1579918 (patch)
tree2b2965aa72d940e138f9dcda7c6eea17a13ff1f2 /libs/libffi
parentfe4121b49f0cdc2e6528b61cbc40d0bcb132a677 (diff)
libffi: fix libffi.pc file
The include dir pointed to staging_dir/target-mips_34kc+dsp_musl-1.1.11 /usr/lib/libffi-3.0.13/include which does not exists, this made glib2 fail to compile. The header files are copied to /usr/include so define it in the libffi.pc file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'libs/libffi')
-rw-r--r--libs/libffi/patches/001-fix-includedir-pkg.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libffi/patches/001-fix-includedir-pkg.patch b/libs/libffi/patches/001-fix-includedir-pkg.patch
new file mode 100644
index 000000000..d82ec5ff9
--- /dev/null
+++ b/libs/libffi/patches/001-fix-includedir-pkg.patch
@@ -0,0 +1,11 @@
+--- a/libffi.pc.in
++++ b/libffi.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
++includedir=${prefix}/include
+
+ Name: @PACKAGE_NAME@
+ Description: Library supporting Foreign Function Interfaces