[MacPorts] #66965: i2pd: fix building shared libs
MacPorts
noreply at macports.org
Mon Feb 20 20:51:15 UTC 2023
#66965: i2pd: fix building shared libs
--------------------------+-------------------------
Reporter: herbygillot | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: i2pd |
--------------------------+-------------------------
Comment (by kencu):
In general, it is difficult to have cmake build both static and shared
libs of one codebase. It is not a built-in cmake feature to do that, it is
usually one or the other with cmake.
People have done it; you can look at their cmake files to see what tricks
were done to allow it.
On the other hand, with Makefiles it is really pretty trivial to do that.
Just another line and another target.
--
Ticket URL: <https://trac.macports.org/ticket/66965#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list