Mercurial > octave
changeset 23989:0e61c9a9e42a
link with -lgdi32 on Windows systems (bug #51912)
* configure.ac: On Windows systems, include -lgdi32 in LIBS.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 01 Sep 2017 07:20:01 -0400 |
parents | bdde51fda657 |
children | 6f56efc098bd |
files | configure.ac |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Thu Aug 31 17:35:16 2017 -0700 +++ b/configure.ac Fri Sep 01 07:20:01 2017 -0400 @@ -2451,6 +2451,10 @@ msdosmsvc | mingw*) AC_CHECK_FUNCS([setvbuf], [], [AC_MSG_ERROR([Missing function required to build Octave])]) + + ## We need this for GetDeviceCaps. Should we actually check for + ## the function and library? + LIBS="-lgdi32 $LIBS" ;; esac