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

From Thomas Hallgren
Subject pg_config --pgxs on Win32
Date
Msg-id dim0kn$h0e$1@sea.gmane.org
Whole thread Raw
Responses Re: pg_config --pgxs on Win32
List pgsql-hackers
Something changed very recently in the output from pg_config --pgxs command on Win32. It now 
outputs double backslash everywhere instead of forward slashes. The mingw GNU Make is not 
too happy about the double backslashes. I do:

export PGXS := $(dir $(shell pg_config --pgxs))

and now it yields "./"

I tried to do the following:

$(warning "PGXS = $(dir c:\\msys\\local\\pgsql\\lib\\pgxs\\src\\MAKEFI~1\\pgxs.mk)")
$(warning "PGXS = $(dir c:/msys/local/pgsql/lib/pgxs/src/MAKEFI~1\\pgxs.mk)")

The first one yields "./", the second is OK.

I guess it happened when changing to using short-name represenation?

Regards,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking
Next
From: Bruce Momjian
Date:
Subject: Allowed timezone values