[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Static libssh


I am trying to build a simple sshd on windows (based on samplesshd) using mingw. I would like to have a standalone executable ie everything staticaly linked.

I have built openssl and zlib, built libssh using cygwin. But when I build my code and include all the static libraries, when I run the exe, it comlpains that I am missing cygssh-4, cygcrypto, cygz, cyg... dlls.

What am I doing wrong?

Opensll was built like this : ms\mingw32.bat
Libz was built like this : configure; make (cygwin)
libssh was built like this : WITH_STATIC_LIB set to ON

I added #define LIBSSH_STATIC .

Any help would be greatly appiciated.


Archive administrator: postmaster@lists.cynapses.org