Quellcode durchsuchen

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>
Hauke Mehrtens vor 9 Jahren
Ursprung
Commit
c1137b6db7
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11
    0
      libs/libffi/patches/001-fix-includedir-pkg.patch

+ 11
- 0
libs/libffi/patches/001-fix-includedir-pkg.patch Datei anzeigen

@@ -0,0 +1,11 @@
1
+--- a/libffi.pc.in
2
++++ b/libffi.pc.in
3
+@@ -1,7 +1,7 @@
4
+ prefix=@prefix@
5
+ exec_prefix=@exec_prefix@
6
+ libdir=@libdir@
7
+-includedir=${libdir}/@PACKAGE_NAME@-@PACKAGE_VERSION@/include
8
++includedir=${prefix}/include
9
+ 
10
+ Name: @PACKAGE_NAME@
11
+ Description: Library supporting Foreign Function Interfaces