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:
parent
fe4121b49f
commit
c1137b6db7
11
libs/libffi/patches/001-fix-includedir-pkg.patch
Normal file
11
libs/libffi/patches/001-fix-includedir-pkg.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user