diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-07-14 23:20:06 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-12-09 19:15:18 +0100 |
commit | 3ceda619fb8f04161a5924006faac406a79f26f2 (patch) | |
tree | 4b461409f21375ae46dcc7a7e8bc2be89ec428a7 /configure.ac | |
parent | 3c35db9b7aa52878bb7739e732bebfb2f580bc29 (diff) |
libffi: build DLL on Windows
The build setup is rather horrible, with some minimal gcc MSVC
wrapper. But the DLL is a prerequisite for the Python 3.8 build,
which dropped the internal libffi.
It's also possible to build it statically, but then you have to
patch the Python 3 _ctypes msbuild properties.
This also defaults to explicit --build and --host settings, even
without a cross build, because the predicted name would otherwise
differ (*-unknown-* instead of *-pc-*).
Additionally a "make install" also fails...
Change-Id: Ifb7dac840e23efffb9a5e342560aef9e11e0db79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98436
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
(cherry picked from commit 883068462fe5bcbb01a8e14736fc06d0c3695c62)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3cf5f0dbd36e..cb91c7624f21 100644 --- a/configure.ac +++ b/configure.ac @@ -8802,7 +8802,7 @@ internal) fi AC_DEFINE_UNQUOTED([PYTHON_VERSION_STRING], [L"${PYTHON_VERSION}"]) BUILD_TYPE="$BUILD_TYPE PYTHON" - if test "$OS" = LINUX; then + if test "$OS" = LINUX -o "$OS" = WNT ; then BUILD_TYPE="$BUILD_TYPE LIBFFI" fi # Embedded Python dies without Home set |