summaryrefslogtreecommitdiff
path: root/src/bin/psql
diff options
context:
space:
mode:
authorBruce Momjian2004-04-26 17:40:48 +0000
committerBruce Momjian2004-04-26 17:40:48 +0000
commitefc34e29a27bf60a9ddcaf00084f16727979488b (patch)
treee74b73c2eedc361880b35a688680045fc7eac9f3 /src/bin/psql
parent725524bd3b933845c4e73264b9d78d5b2d0defc1 (diff)
Add $(X) for cross-compiling. Seems the mingw compiler running on
FreeBSD doesn't add .EXE to links. Michiel Ephraim
Diffstat (limited to 'src/bin/psql')
-rw-r--r--src/bin/psql/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile
index a3de06182a..d6af0c6b14 100644
--- a/src/bin/psql/Makefile
+++ b/src/bin/psql/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.42 2004/04/22 14:33:45 momjian Exp $
+# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.43 2004/04/26 17:40:48 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -27,7 +27,7 @@ FLEXFLAGS = -Cfe
all: submake-libpq submake-libpgport psql
psql: $(OBJS) $(libpq_builddir)/libpq.a
- $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(OBJS) $(libpq) $(LDFLAGS) $(LIBS) -o $@$(X)
help.o: $(srcdir)/sql_help.h