From d5f6f76740638075de9aba86f34a25cef63c9708 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 29 Nov 2015 22:59:21 +0000 Subject: [PATCH] Also link -lgdi32 on Windows, because OpenSSL requires it! --- infrastructure/mingw/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh index cfc27f35f..61625ef1e 100755 --- a/infrastructure/mingw/configure.sh +++ b/infrastructure/mingw/configure.sh @@ -35,7 +35,7 @@ if ! ./configure "$@" --host=$target \ --with-ssl-lib="${DEP_PATH}/lib" \ CFLAGS="-mthreads" \ CXXFLAGS="-mthreads" \ - LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH}" + LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH} -lgdi32" then echo "Error: configure failed, aborting." >&2 exit 1