mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 22:28:15 -04:00
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.
This commit is contained in:
parent
92c1f917b8
commit
da6c7aff1a
1 changed files with 1 additions and 1 deletions
|
|
@ -290,5 +290,5 @@ endif
|
|||
|
||||
ifdef PROGRAM
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(CC) $(CFLAGS) $(OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
|
||||
$(CC) $(CFLAGS) $(OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue