]> granicus.if.org Git - postgresql/commit
Make pgxs build executables with the right suffix.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 19 Jan 2013 19:54:29 +0000 (14:54 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 19 Jan 2013 19:54:29 +0000 (14:54 -0500)
commitda6c7aff1a0cc14966a3f528e60010e34200451b
tree458f7039c55f186328ed476f5955943db66f0145
parent92c1f917b865c2672a21a3029e2c6f777e6f8641
Make pgxs build executables with the right suffix.

Complaint and patch from Zoltán Böszörményi.

When cross-compiling, the native make doesn't know
about the Windows .exe suffix, so it only builds with
it when explicitly told to do so.

The native make will not see the link between the target
name and the built executable, and might this do unnecesary
work, but that's a bigger problem than this one, if in fact
we consider it a problem at all.

Back-patch to all live branches.
src/makefiles/pgxs.mk