repo/extra/libffi/build
2020-05-15 10:44:41 +03:00

18 lines
387 B
Bash
Executable File

#!/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"