1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

build: Fix zlib support.

This commit is contained in:
Andreas Schneider
2011-09-23 22:54:33 +02:00
committed by Aris Adamantiadis
parent 43fc7553f8
commit 6859e4f4ec
8 changed files with 22 additions and 22 deletions

View File

@@ -80,10 +80,10 @@
#define CRYPTO_STRING ""
#endif
#ifdef WITH_LIBZ
#define LIBZ_STRING "/zlib"
#ifdef WITH_ZLIB
#define ZLIB_STRING "/zlib"
#else
#define LIBZ_STRING ""
#define ZLIB_STRING ""
#endif
/**
@@ -357,7 +357,7 @@ char *ssh_hostport(const char *host, int port){
const char *ssh_version(int req_version) {
if (req_version <= LIBSSH_VERSION_INT) {
return SSH_STRINGIFY(LIBSSH_VERSION) GCRYPT_STRING CRYPTO_STRING
LIBZ_STRING;
ZLIB_STRING;
}
return NULL;