Re: Building a library as both static and dynamic

2020-10-05 Thread Ludovic Courtès
Hi, Greg Hogan skribis: > Is there a best practice or example for building a library twice, both > static and dynamic? I submitted patch #43620, and in working on > another library have the same issue. These are cmake builds with a > parameter declaration for either a static or dynamic build,

Re: Building a library as both static and dynamic

2020-09-28 Thread Efraim Flashner
On Sun, Sep 27, 2020 at 07:57:19AM -0400, Greg Hogan wrote: > Is there a best practice or example for building a library twice, both static > and dynamic? I submitted patch #43620, and in working on another library have > the same issue. These are cmake builds with a parameter declaration for >

Building a library as both static and dynamic

2020-09-27 Thread Greg Hogan
Is there a best practice or example for building a library twice, both static and dynamic? I submitted patch #43620, and in working on another library have the same issue. These are cmake builds with a parameter declaration for either a static or dynamic build, not both. I would like to create