From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- extra/libffi/build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 extra/libffi/build (limited to 'extra/libffi/build') diff --git a/extra/libffi/build b/extra/libffi/build new file mode 100755 index 00000000..b2747a3d --- /dev/null +++ b/extra/libffi/build @@ -0,0 +1,17 @@ +#!/bin/sh -e + +./configure \ + --prefix=/usr \ + --with-pic + +make +make DESTDIR="$1" install + +# Maintain compatibility and avoid the need +# for rebuilds of all packages linking to +# libffi. +# +# ABI incompatibility only affects AArch64. +# See: https://github.com/libffi/libffi/commit/c02c341 +# https://github.com/libffi/libffi/issues/528 +ln -s libffi.so.7 "$1/usr/lib/libffi.so.6" -- cgit v1.2.3