Re: pgxs/windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgxs/windows
Date
Msg-id 9197.1137348580@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgxs/windows  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: pgxs/windows
List pgsql-hackers
"Magnus Hagander" <mha@sollentuna.net> writes:
> As you see, it adds both bin and lib.

Is the bin part even necessary?

It looks to me like the -L for libdir is coming from Makefile.global.in:

# add location of libpgport.a to LDFLAGS
ifdef PGXS
override LDFLAGS := -L$(libdir) $(LDFLAGS)
else
override LDFLAGS := -L$(top_builddir)/src/port $(LDFLAGS)
endif

Comparing that to the code in Makefile.win32, one of them is wrong
about the need for $(DESTDIR).  Perhaps that has something to do with
it not working for Andrew?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgxs/windows
Next
From: Andrew Dunstan
Date:
Subject: Re: pgxs/windows