configure: Do not build the ununsed libffi shared library.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 30 Dec 2022 12:03:08 +0000 (12:03 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 31 Dec 2022 17:51:47 +0000 (17:51 +0000)
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.

Makefile.def
Makefile.in

index 86d15f1982f04882a996ccbe303df90a18c89b95..35e994eb77efcc4d09afde8c9473216703623a2e 100644 (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; };
index d66e6208fa2e1976e348e533a8d57728f4aeaaa4..06a9398e172212a21a7ec540a0cf196dbd268cc7 100644 (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