changeset 31325:52ccba0f1af9

build: Use .def file for symbols exported from libexternal also for Cygwin. * configure.ac: Add Cygwin to the platforms that require linking with a .def file containing the symbols exported from the Fortran modules in libexternal.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 22 Oct 2022 14:30:47 +0200
parents 1c4e017664fd
children 49972715a95a
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sat Oct 22 13:33:54 2022 +0200
+++ b/configure.ac	Sat Oct 22 14:30:47 2022 +0200
@@ -630,7 +630,7 @@
 
 XTRA_EXTERNAL_SH_LDFLAGS=
 case $host_os in
-  msdosmsvc | mingw*)
+  msdosmsvc | mingw* | cygwin*)
     FLIBS="$FLIBS -lkernel32"
     XTRA_EXTERNAL_SH_LDFLAGS="-Wl,liboctave/external/external.def"
   ;;