mirror of
https://github.com/novatiq/packages.git
synced 2026-04-24 21:14:40 +01: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:
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
|
||||
Reference in New Issue
Block a user