Skip to content

Commit

Permalink
Try a different way to link -lgdi32, hopefully after other libs this …
Browse files Browse the repository at this point in the history
…time.
  • Loading branch information
qris committed Nov 29, 2015
1 parent aa54622 commit 4ca8ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infrastructure/mingw/configure.sh
Expand Up @@ -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
Expand Down

0 comments on commit 4ca8ef1

Please sign in to comment.