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 <iain@sandoe.co.uk>

ChangeLog:

	* Makefile.def: Do not build shared libffi.
	* Makefile.in: Regenerate.
This commit is contained in:
Iain Sandoe 2022-12-30 12:03:08 +00:00
parent 2d8c2fdc29
commit 70a5e6280d
2 changed files with 3 additions and 2 deletions

View File

@ -181,7 +181,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; bootstrap=true; };
target_modules = { module= rda; };
target_modules = { module= libada; };

View File

@ -55467,7 +55467,7 @@ configure-target-libffi:
$$s/$$module_srcdir/configure \
--srcdir=$${topdir}/$$module_srcdir \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
--target=${target_alias} \
--target=${target_alias} --disable-shared --with-pic \
|| exit 1
@endif target-libffi