diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-11-29 23:21:36 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-11-29 23:21:36 +0000 |
commit | 4ca8ef1e8bf387389f8904fca3e3bcec49578b9e (patch) | |
tree | 0eaa3ea1dfc97e03e2770675a519e0c66fed9101 /infrastructure/mingw/configure.sh | |
parent | aa54622fb78096051d922e259a007147e5c67a5d (diff) |
Try a different way to link -lgdi32, hopefully after other libs this time.
Diffstat (limited to 'infrastructure/mingw/configure.sh')
-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 |