2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-16 03:30:23 -07:00
repo/extra/libffi/build
2019-11-24 13:52:11 +00: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"