From 01fc8418b6f3038bcfa3c082509d611b2a6fe9fa Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 6 Jul 2021 10:36:34 +0300 Subject: libffi: link statically --- extra/libffi/build | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/extra/libffi/build b/extra/libffi/build index b2747a3d..71ad38f4 100755 --- a/extra/libffi/build +++ b/extra/libffi/build @@ -2,16 +2,8 @@ ./configure \ --prefix=/usr \ - --with-pic + --with-pic \ + --disable-shared 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