Re: pg_config --pgxs on Win32 - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Re: pg_config --pgxs on Win32
Date
Msg-id thhal-0qkMqBMci8rQj72tX1q1ipJZ3wu2AHp@mailblocks.com
Whole thread Raw
In response to Re: pg_config --pgxs on Win32  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
Dave Page wrote:
> We should probably document that pg_config may not work reliably with non-mingw tools in that case. Microsoft code
mayor may not do what is expected with front slashes.
 
>
> BTW Thomas - I thought you said \\ did work when you were testing options for me, or was that just msys rather than
make?
>   
That was when testing different paths in the Makefile.global. Apparenlty 
a make never does a $(dir xxx) on those paths.

I do have a workaround in place that makes it work for me now. I do 
$(dir $(subst \\,/,xxx)) and that works fine but given that the targeted 
platform for pgxs on Win32 is MinGW, perhaps it should output forward 
slashes anyway. Hmm, then again, perhaps only PL/Java does a $(dir xxx) 
on the output.

Regards,
Thomas Hallgren




pgsql-hackers by date:

Previous
From: Robert Creager
Date:
Subject: auto vacuum lock on 8.1beta1
Next
From: Tom Lane
Date:
Subject: Re: pg_config --pgxs on Win32