summaryrefslogtreecommitdiff
path: root/contrib/spi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/spi/Makefile')
-rw-r--r--contrib/spi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/spi/Makefile b/contrib/spi/Makefile
index ed7d551c70..7a078a9b0e 100644
--- a/contrib/spi/Makefile
+++ b/contrib/spi/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.28 2007/12/03 04:22:54 tgl Exp $
+# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.29 2010/07/05 23:15:56 tgl Exp $
MODULES = autoinc insert_username moddatetime refint timetravel
DATA_built = $(addsuffix .sql, $(MODULES))
@@ -8,6 +8,8 @@ DOCS = $(addsuffix .example, $(MODULES))
# comment out if you want a quieter refint package for other uses
PG_CPPFLAGS = -DREFINT_VERBOSE
+LDFLAGS_SL += -L$(top_builddir)/src/port -lpgport
+
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -18,5 +20,3 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
-
-SHLIB_LINK += -L$(top_builddir)/src/port -lpgport