Opened 3 months ago

Last modified 3 months ago

#69371 assigned defect

gtest does not install dynamic libraries

Reported by: barracuda156 Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: gtest

Description

Due to which, for example, s2geometry does not build with tests enabled:

Failed to configure s2geometry: gtest must be installed with +shared_libs.

Change History (2)

comment:1 Changed 3 months ago by barracuda156

UPD. Ah, it is a custom variant. Can it be made default though?

comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to judaew
Status: newassigned

It would be ideal for the port to install shared libraries always and remove the variant. However, the comment in the port suggests they're not built by default because they make the test suite fail. I'm not sure that's a good reason though. Most users don't run the tests. Developers who want to run the tests could disable the shared libraries.

Note: See TracTickets for help on using tickets.