diff configure.ac @ 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 5c897507d9ed
children 900c7d9f7fdd
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"
   ;;