xref: /OK3568_Linux_fs/buildroot/package/libffi/libffi.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# libffi
4#
5################################################################################
6
7LIBFFI_VERSION = 3.4.2
8LIBFFI_SITE = \
9	https://github.com/libffi/libffi/releases/download/v$(LIBFFI_VERSION)
10LIBFFI_LICENSE = MIT
11LIBFFI_LICENSE_FILES = LICENSE
12LIBFFI_CPE_ID_VENDOR = libffi_project
13LIBFFI_INSTALL_STAGING = YES
14# We're patching Makefile.am
15LIBFFI_AUTORECONF = YES
16
17# The static exec trampolines is enabled by default since
18# libffi 3.4.2. However it doesn't work with gobject-introspection.
19LIBFFI_CONF_OPTS = --disable-exec-static-tramp
20
21$(eval $(autotools-package))
22$(eval $(host-autotools-package))
23