summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-11-29 23:21:36 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-13 23:48:33 +0000
commit8d8f08044de661651e8e8df6f1a1100a54e3746f (patch)
treeff8b7edf4d233c301bd4ebaeb437bf8676eab47d
parentd5f6f76740638075de9aba86f34a25cef63c9708 (diff)
Try a different way to link -lgdi32, hopefully after other libs this time.
-rwxr-xr-xinfrastructure/mingw/configure.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh
index 61625ef1..80af8ca6 100755
--- a/infrastructure/mingw/configure.sh
+++ b/infrastructure/mingw/configure.sh
@@ -35,7 +35,8 @@ if ! ./configure "$@" --host=$target \
--with-ssl-lib="${DEP_PATH}/lib" \
CFLAGS="-mthreads" \
CXXFLAGS="-mthreads" \
- LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH} -lgdi32"
+ LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH}" \
+ LIBS="-lgdi32"
then
echo "Error: configure failed, aborting." >&2
exit 1