mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Get HTTP support (libcurl) working with mingw.
This commit is contained in:
parent
2229c7557d
commit
32f7cd8b22
2 changed files with 5 additions and 3 deletions
|
@ -71,7 +71,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
|||
if test -d "$_libcurl_with" ; then
|
||||
LIBCURL_CPPFLAGS="-I$withval/include"
|
||||
_libcurl_ldflags="-L$withval/lib"
|
||||
AC_PATH_PROG([_libcurl_config],["$withval/bin/curl-config"])
|
||||
AC_PATH_PROG([_libcurl_config],[curl-config], [], ["$withval/bin"])
|
||||
else
|
||||
AC_PATH_PROG([_libcurl_config],[curl-config])
|
||||
fi
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -x
|
||||
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
|
||||
export PKG_CONFIG_PATH=$MINGW/usr/lib/pkgconfig
|
||||
export PATH=$MINGW/usr/bin:$PATH
|
||||
../configure --host=i686-pc-mingw32 \
|
||||
SDL_CONFIG=$MINGW/usr/i686-pc-mingw32/bin/sdl-config $*
|
||||
SDL_CONFIG=$MINGW/usr/i686-pc-mingw32/bin/sdl-config \
|
||||
--with-libcurl=$MINGW/usr/i686-pc-mingw32 \
|
||||
$*
|
||||
|
||||
|
|
Loading…
Reference in a new issue