]> git.armaanb.net Git - asd-repo.git/blob - core/libffi/build
Adapt for asd linux
[asd-repo.git] / core / libffi / build
1 #!/bin/sh -e
2
3 ./configure \
4     --prefix=/usr \
5     --with-pic
6
7 make
8 make DESTDIR="$1" install
9
10 # Maintain compatibility and avoid the need
11 # for rebuilds of all packages linking to
12 # libffi.
13 ln -s libffi.so.8 "$1/usr/lib/libffi.so.7"
14 #
15 # ABI incompatibility only affects AArch64.
16 # See: https://github.com/libffi/libffi/commit/c02c341
17 #      https://github.com/libffi/libffi/issues/528
18 ln -s libffi.so.7 "$1/usr/lib/libffi.so.6"