1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-26 01:27:41 +02:00

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>
This commit is contained in:
Hauke Mehrtens 2015-11-18 22:43:59 +01:00
parent fe4121b49f
commit c1137b6db7

View File

@ -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