Opened 5 years ago

Closed 5 years ago

#4250 closed enhancement (fixed)

Stop calling pg_config from Makefiles

Reported by: Algunenano Owned by: strk
Priority: low Milestone: PostGIS 3.0.0
Component: build Version: master
Keywords: Cc:

Description

During compilation, the Makefiles are calling pg_config --pgxs to get PGXS path instead of using the path established during the initial configuration.

This can lead to inconsistencies if the pg_config used in the configuration (--with-pgconfig) is different from the one in the path.

We could use the @PGXS@ variable instead, which is set in the configure step.

Change History (2)

comment:1 by strk, 5 years ago

Agreed, very good point!

comment:2 by Raul Marin, 5 years ago

Resolution: fixed
Status: newclosed

In 17044:

Uniformize how PGXS is used

Closes #4250
Closes https://github.com/postgis/postgis/pull/341

Note: See TracTickets for help on using tickets.