From 6d80d4cf716e4d8d066cba03915cc794dde65110 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Mon, 7 Aug 2023 13:07:10 +0200 Subject: [PATCH] configure: Do not build the ununsed libffi shared library. We do not use the shared libffi libraray, nor do we install it. However, on at least Darwin, the shared version will be picked up for testing, so it is preferrable not to build it. Signed-off-by: Iain Sandoe * Makefile.def: Do not build shared libffi. --- Makefile.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.def b/Makefile.def index 2f51f83..1156d2b 100644 --- a/Makefile.def +++ b/Makefile.def @@ -187,7 +187,8 @@ target_modules = { module= libtermcap; no_check=true; missing=maintainer-clean; }; target_modules = { module= winsup; }; target_modules = { module= libgloss; no_check=true; }; -target_modules = { module= libffi; no_install=true; }; +target_modules = { module= libffi; no_install=true; + extra_configure_flags='--disable-shared --with-pic'; }; target_modules = { module= zlib; }; target_modules = { module= rda; }; target_modules = { module= libada; }; -- 2.7.4