Opened 5 years ago

Closed 5 years ago

#4539 closed enhancement (fixed)

Unify libm includes

Reported by: Algunenano Owned by: Algunenano
Priority: medium Milestone: PostGIS 3.1.0
Component: postgis Version: master
Keywords: Cc:

Description

Currently -lm is included manually in different libraries or binaries along the project, but some other objects are missing it.

I think it'd simpler to just include it in the LDFLAGS during configure and remove any manual additions for 3.1.

Change History (1)

comment:1 by Raul Marin, 5 years ago

Resolution: fixed
Status: assignedclosed

In 17990:

Unify how libm is added to the LDFLAGS

Different objects or libraries where including it individually,
and some of them didn't which can caused issues depending on
the linker options

Closes https://github.com/postgis/postgis/pull/491/
Closes #4539

Note: See TracTickets for help on using tickets.