1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-31 00:03:08 +03:00

cmake: use shared libs again in example and tests

Re-sync with autotools and v1.10.0 behavior.

This improves build times. It also allows to stop building our special
shared test target to test shared builds.

Follow-up to 4e2580628d

Cherry-picked from #1017
Closes #1022
This commit is contained in:
Viktor Szakats
2023-05-02 22:21:01 +00:00
parent bc120a343b
commit 612ca85aaa
6 changed files with 26 additions and 19 deletions

View File

@ -21,10 +21,6 @@
#define INADDR_NONE (in_addr_t)~0
#endif
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
static const char *pubkey = "/home/username/.ssh/id_rsa.pub";
static const char *privkey = "/home/username/.ssh/id_rsa";
static const char *username = "username";