Subject: Re: static linking problem

Re: static linking problem

From: Mikhail Gusarov <dottedmag_at_dottedmag.net>
Date: Mon, 18 Oct 2010 21:36:35 +0400

Twas brillig at 12:09:12 18.10.2010 UTC-05 when ngierman_at_roadrunn.com did gyre and gimble:

 NG> If you want static linking, try:

 NG> gcc -I/usr/local/include /usr/local/lib/libssh2.a sftptest.c -o sftptest

 NG> The "-l" and "-L" I only use for dynamic linking.

No.

-- 
  http://fossarchy.blogspot.com/

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-10-18