Re: Add option to disable shared libs

2017-10-30 Thread Andreas Schneider
On Monday, 30 October 2017 01:13:51 CET Tony Theodore wrote: > > On 30 Oct 2017, at 03:03, Andreas Schneider wrote: > > > > we support to build libssh as a static library but we do not encourage it. > > I think you know what happens when you link your code with libssh > >

Re: Add option to disable shared libs

2017-10-29 Thread Tony Theodore
> On 30 Oct 2017, at 03:03, Andreas Schneider wrote: > > we support to build libssh as a static library but we do not encourage it. I > think you know what happens when you link your code with libssh statically. What are the issues with static linking? I don’t use libssh

Re: Add option to disable shared libs

2017-10-29 Thread Andreas Schneider
On Sunday, 29 October 2017 02:46:01 CET Tony Theodore wrote: > Hi, > > It’s sometimes useful to separate the build of static and shared libs, > the patch below is fairly straightforward but I’ve broken it in two as > I can’t the get re-indentation to display as a single hunk. Hi, we support to

Add option to disable shared libs

2017-10-28 Thread Tony Theodore
From: Tony Theodore <to...@logyst.com> Date: Sun, 29 Oct 2017 00:11:28 +1100 Subject: [PATCH] add option to disable shared libs diff --git a/DefineOptions.cmake b/DefineOptions.cmake index 111..222 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -3,6 +3,7 @@ option(WIT