aboutsummaryrefslogtreecommitdiff
path: root/extra/libffi/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-06 10:36:34 +0300
committerCem Keylan <cem@ckyln.com>2021-07-06 10:36:34 +0300
commit01fc8418b6f3038bcfa3c082509d611b2a6fe9fa (patch)
tree47166fa6e184be9fa57437a72c8a5b1c26dc4e1f /extra/libffi/build
parent59974bd158b13ff54af50f14c471586eaca8da27 (diff)
downloadrepository-01fc8418b6f3038bcfa3c082509d611b2a6fe9fa.tar.gz
libffi: link statically
Diffstat (limited to 'extra/libffi/build')
-rwxr-xr-xextra/libffi/build12
1 files 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"