Optional version and uri, no Std copy, reuse deps, jbb libc check

This commit is contained in:
Ganesh Viswanathan 2020-06-18 10:22:22 -05:00
commit 1820fdffcf
9 changed files with 185 additions and 100 deletions

View file

@ -6,7 +6,7 @@ const
getHeader(
header = "libssh2.h",
conanuri = "libssh2/$1",
jbburi = "libssh2/$1",
jbburi = "libssh2/1.9.0",
outdir = outdir
)
@ -45,6 +45,3 @@ echo "zlib version = " & (block:
else:
""
)
static:
echo libssh2LDeps

View file

@ -24,6 +24,8 @@ getHeader(
"lzma.h",
giturl = "https://github.com/xz-mirror/xz",
dlurl = "https://tukaani.org/xz/xz-$1.tar.gz",
conanuri = "xz_utils",
jbburi = "xz",
outdir = baseDir,
conFlags = "--disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo"
)

View file

@ -27,8 +27,6 @@ getHeader(
"zlib.h",
giturl = "https://github.com/madler/zlib",
dlurl = "http://zlib.net/zlib-$1.tar.gz",
conanuri = "zlib/$1",
jbburi = "zlib/$1",
outdir = baseDir,
altNames = "z,zlib"
)