[PROJ] Proj9 small library size
Sebastiaan Couwenberg
sebastic at xs4all.nl
Tue Aug 16 05:53:05 PDT 2022
On 8/16/22 14:03, Greg Troxel wrote:
> Even Rouault <even.rouault at spatialys.com> writes:
>
>> @Mike That's a different thing. libproj-dev from PROJ 7 includes the
>> static .a library, whereas the one from PROJ 9 doesn't (since PROJ
>> CMake builds only build shared or static libraries, but not both at
>> the same time)
>
> That seems like a bug, if you can't easily pass a switch to make both.
It's long standing CMake behavior.
libtools builds both by default, so switching to CMake implies dropping
dropping the static library, or building the project twice setting
BUILD_SHARED_LIBS accordingly.
It's of the reasons switching from Autotools to CMake is considered a
regression of packaging point of view.
The static library is a convenience for users of the Debian package,
it's not used by other packages, so dropping it is not a big deal, it
only affects a small subset of users.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the PROJ
mailing list