vere: mingw: build static executables

This commit is contained in:
~locpyl-tidnyd 2021-03-29 23:35:12 +00:00
parent 1c58db28de
commit 0d9adffb25
2 changed files with 23 additions and 2 deletions

View File

@ -1,4 +1,21 @@
{
"curl": {
"branch": "master",
"description": "A command line tool and library for transferring data with URL syntax",
"homepage": "http://curl.se/",
"mingw": {
"include": "include",
"lib": "lib/.libs",
"prepare": "autoreconf -vfi && ./configure --disable-shared --disable-ldap --disable-rtsp --without-brotli --without-libidn2 --without-libpsl --without-nghttp2",
"make": "-C lib libcurl.la"
},
"owner": "curl",
"repo": "curl",
"rev": "curl-7_75_0",
"type": "tarball",
"url": "https://github.com/curl/curl/archive/curl-7_75_0.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"lmdb": {
"branch": "mdb.master",
"description": "LMDB library",

8
pkg/urbit/configure vendored
View File

@ -115,9 +115,13 @@ popd
# increase default thread stack size and link Windows implibs
ldextra="-Wl,--stack,67108864 -lbcrypt -lws2_32"
# libcurl implibs
ldextra="$ldextra -lzstd"
# libuv implibs
ldextra="$ldextra -luserenv -liphlpapi -lpsapi"
vcompat="compat = mingw"
CFLAGS="${CFLAGS-} ${cdirs[@]} -DH2O_NO_UNIX_SOCKETS -Icompat/mingw"
LDFLAGS="${LDFLAGS-} ${ldirs[@]}"
CFLAGS="${CFLAGS-} ${cdirs[@]} -DCURL_STATICLIB -DH2O_NO_UNIX_SOCKETS -Icompat/mingw"
LDFLAGS="${LDFLAGS-} -static ${ldirs[@]}"
PKG_CONFIG="echo"
;;
*linux*)