aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-07-05 23:40:13 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-07-05 23:40:13 +0000
commitf6af1435d98bbd15809c86c8846c15051ee2d6e8 (patch)
tree0e927c16b6c99a510b33d2a3927d60d260534372 /src
parentbdf00543c2a645b7a773cdcd81fbd4e38e64ee1c (diff)
downloadpostgresql-f6af1435d98bbd15809c86c8846c15051ee2d6e8.tar.gz
postgresql-f6af1435d98bbd15809c86c8846c15051ee2d6e8.zip
Dept. of third thoughts: PG_LIBS may contain a -L switch, so it had better
stay in front of LDFLAGS.
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/pgxs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/pgxs.mk b/src/makefiles/pgxs.mk
index 36ac5be8dad..7910c35bca0 100644
--- a/src/makefiles/pgxs.mk
+++ b/src/makefiles/pgxs.mk
@@ -1,6 +1,6 @@
# PGXS: PostgreSQL extensions makefile
-# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.21 2010/07/05 23:30:50 tgl Exp $
+# $PostgreSQL: pgsql/src/makefiles/pgxs.mk,v 1.22 2010/07/05 23:40:13 tgl Exp $
# This file contains generic rules to build many kinds of simple
# extension modules. You only need to set a few variables and include
@@ -286,5 +286,5 @@ endif
ifdef PROGRAM
$(PROGRAM): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(OBJS) $(PG_LIBS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
endif