diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-11-29 23:21:36 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-13 23:48:33 +0000 |
commit | 8d8f08044de661651e8e8df6f1a1100a54e3746f (patch) | |
tree | ff8b7edf4d233c301bd4ebaeb437bf8676eab47d /infrastructure/mingw | |
parent | d5f6f76740638075de9aba86f34a25cef63c9708 (diff) |
Try a different way to link -lgdi32, hopefully after other libs this time.
Diffstat (limited to 'infrastructure/mingw')
-rwxr-xr-x | infrastructure/mingw/configure.sh | 3 |
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 |