2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00:00
repo/extra/libffi/build

18 lines
387 B
Plaintext
Raw Normal View History

2019-07-23 13:15:56 +00:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--with-pic
make
make DESTDIR="$1" install
2019-11-24 09:37:51 +00:00
2019-11-24 09:56:39 +00:00
# Maintain compatibility and avoid the need
# for rebuilds of all packages linking to
# libffi.
2019-11-24 13:52:11 +00:00
#
# ABI incompatibility only affects AArch64.
# See: https://github.com/libffi/libffi/commit/c02c341
# https://github.com/libffi/libffi/issues/528
2019-11-24 09:56:39 +00:00
ln -s libffi.so.7 "$1/usr/lib/libffi.so.6"