diff options
Diffstat (limited to 'meta/recipes-gnome/libffi')
-rw-r--r-- | meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch | 18 | ||||
-rw-r--r-- | meta/recipes-gnome/libffi/libffi_3.0.13.bb | 24 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch new file mode 100644 index 0000000000..0a49ab5020 --- /dev/null +++ b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | Upstream-Status: Inaproppriate | ||
3 | |||
4 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
5 | |||
6 | Index: libffi-3.0.13/Makefile.am | ||
7 | =================================================================== | ||
8 | --- libffi-3.0.13.orig/Makefile.am | ||
9 | +++ libffi-3.0.13/Makefile.am | ||
10 | @@ -98,7 +98,7 @@ FLAGS_TO_PASS = $(AM_MAKEFLAGS) | ||
11 | |||
12 | MAKEOVERRIDES= | ||
13 | |||
14 | -toolexeclib_LTLIBRARIES = libffi.la | ||
15 | +lib_LTLIBRARIES = libffi.la | ||
16 | noinst_LTLIBRARIES = libffi_convenience.la | ||
17 | |||
18 | libffi_la_SOURCES = src/prep_cif.c src/types.c \ | ||
diff --git a/meta/recipes-gnome/libffi/libffi_3.0.13.bb b/meta/recipes-gnome/libffi/libffi_3.0.13.bb new file mode 100644 index 0000000000..db0841ed46 --- /dev/null +++ b/meta/recipes-gnome/libffi/libffi_3.0.13.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "A portable foreign function interface library" | ||
2 | DESCRIPTION = "The `libffi' library provides a portable, high level programming interface to various calling \ | ||
3 | conventions. This allows a programmer to call any function specified by a call interface description at run \ | ||
4 | time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the \ | ||
5 | interface that allows code written in one language to call code written in another language. The `libffi' \ | ||
6 | library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. \ | ||
7 | A layer must exist above `libffi' that handles type conversions for values passed between the two languages." | ||
8 | |||
9 | LICENSE = "MIT" | ||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e54c573c49435ccbbd3f6dc9e49a065e" | ||
11 | |||
12 | SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz \ | ||
13 | file://fix-libffi.la-location.patch" | ||
14 | |||
15 | SRC_URI[md5sum] = "45f3b6dbc9ee7c7dfbbbc5feba571529" | ||
16 | SRC_URI[sha256sum] = "1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c" | ||
17 | |||
18 | EXTRA_OECONF += "--disable-builddir" | ||
19 | |||
20 | inherit autotools | ||
21 | |||
22 | FILES_${PN}-dev += "${libdir}/libffi-${PV}" | ||
23 | |||
24 | BBCLASSEXTEND = "native nativesdk" | ||