[postgis-users] Build Issue postgis-2.0.2 (LDFLAGS is overwritten when creating the postgis-2.0.so)

Sandro Santilli strk at keybit.net
Thu Dec 13 00:23:51 PST 2012


On Wed, Dec 12, 2012 at 04:03:14PM -0800, Prasanta Chinara wrote:
> Summary: LDFLAGS is overwritten when creating the postgis-2.0.so
[..]
> lib/pgsql/pgxs/src/Makefile.global is the one which is overriding LDFLAGS with the following snippets:
> 
> 225 ifdef PGXS
> 226   LDFLAGS = -L$(libdir)
> 227 else
> 228   LDFLAGS = -L$(top_builddir)/src/port
> 229 endif
> 230 LDFLAGS += -L... # all library locations required for postgresql build and it DOES NOT include geos or json.

Hi Prasanta, 
I think this report is worth a ticket.
Best if also reported upstream (in PostgreSQL) to see if they
have a solution there (ti implement locally).

--strk;


More information about the postgis-users mailing list