summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/build.vars1
-rw-r--r--vars/libffi.vars10
2 files changed, 1 insertions, 10 deletions
diff --git a/vars/build.vars b/vars/build.vars
index 5c102194..95dbb42e 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -503,6 +503,7 @@ NATIVE_PACKAGES_DEPS_PYTHON="${PREFIX}/bin/python";
: ${PKG_LIBFFI_URL:=ftp://sourceware.org/pub/libffi/libffi-${PKG_LIBFFI_VERSION}.tar.gz};
: ${PKG_LIBFFI_ENV_VARS_EXTRA:="MAKE=make LIBTOOL=slibtool"};
: ${PKG_LIBFFI_CFLAGS_CONFIGURE_EXTRA:=-D_WIN64};
+: ${PKG_LIBFFI_INSTALL_FILES:="lib/libffi-${PKG_LIBFFI_VERSION}/include/ffi.h=include/ffi.h lib/libffi-${PKG_LIBFFI_VERSION}/include/ffitarget.h=include/ffitarget.h"};
: ${PKG_LIBFFI_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/libffi-${PKG_LIBFFI_VERSION}.midipix.patch"};
: ${PKG_GDBM_SHA256SUM:=f9fde3207f67ed8a5a5ddd8ad5e7acf7b27c2cf0f20dfbdde876dcd6e3d2dc0e};
: ${PKG_GDBM_VERSION:=1.15};
diff --git a/vars/libffi.vars b/vars/libffi.vars
deleted file mode 100644
index db8df17d..00000000
--- a/vars/libffi.vars
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# set -o errexit -o noglob are assumed.
-#
-
-pkg_libffi_install_make_post() {
- cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffi.h" "${PREFIX_NATIVE}/include/ffi.h"
- cp -f "${PREFIX_NATIVE}/lib/libffi-${PKG_VERSION}/include/ffitarget.h" "${PREFIX_NATIVE}/include/ffitarget.h"
-};
-
-# vim:filetype=sh