libmongoose-git: Update to latest version.
This commit is contained in:
@@ -5,7 +5,7 @@ url='https://github.com/cesanta/mongoose'
|
||||
pkgdesc='Embedded web server for C/C++ (mingw-w64)'
|
||||
license=('GPL2')
|
||||
arch=('any')
|
||||
pkgver=r1767.2ff2c36
|
||||
pkgver=r1771.b8dfb69
|
||||
pkgrel=1
|
||||
|
||||
pkgname=(${MINGW_PACKAGE_PREFIX}-${_realname}-git)
|
||||
@@ -23,8 +23,7 @@ pkgver() {
|
||||
build() {
|
||||
cd "${srcdir}/${_realname}"
|
||||
# See https://github.com/cesanta/mongoose/issues/326
|
||||
# See https://github.com/cesanta/mongoose/issues/506
|
||||
gcc -c -DFD_SETSIZE=1024 mongoose.c -o mongoose.o
|
||||
gcc -c mongoose.c -o mongoose.o
|
||||
ar rcs libmongoose.a mongoose.o
|
||||
gcc -shared -o libmongoose.dll mongoose.o -Wl,--out-implib,libmongoose.dll.a -lws2_32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user