Mercurial > octave
changeset 31323:5c897507d9ed
build: Add Cygwin to the platforms that require -no-undefined when linking.
* configure.ac: Default to adding "-no-undefined" to LDFLAGS also when building
for Cygwin.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 22 Oct 2022 12:45:36 +0200 |
parents | 42990806eb9d |
children | 1c4e017664fd |
files | configure.ac |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Fri Oct 21 23:52:47 2022 +0200 +++ b/configure.ac Sat Oct 22 12:45:36 2022 +0200 @@ -644,7 +644,7 @@ ### More configure argument checking related to linking case $host_os in - msdosmsvc | mingw* | AIX | BeOS | OS/2 ) + msdosmsvc | mingw* | cygwin* | AIX | BeOS | OS/2 ) DEFAULT_NO_UNDEFINED_LDFLAG="-no-undefined" ;; *) @@ -653,7 +653,7 @@ esac AC_ARG_ENABLE([no-undefined], [AS_HELP_STRING([--enable-no-undefined], - [pass -no-undefined to libtool when linking Octave and its shared libraries. This is done by default for msdosmsvc, mingw*, AIX, BeOS, or OS/2 hosts.])], + [pass -no-undefined to libtool when linking Octave and its shared libraries. This is done by default for msdosmsvc, mingw*, cygwin*, AIX, BeOS, or OS/2 hosts.])], [case $enableval in yes) NO_UNDEFINED_LDFLAG="-no-undefined" ;; no) NO_UNDEFINED_LDFLAG="" ;;