diff options
| author | Tom Lane | 2010-03-01 18:07:59 +0000 |
|---|---|---|
| committer | Tom Lane | 2010-03-01 18:07:59 +0000 |
| commit | d6a6f8c6be4b6d6a9e90e92d91a83225bfe8d29d (patch) | |
| tree | e1730344410a4d0809c79540c9ada40829b1b0ff /contrib/xml2/Makefile | |
| parent | 8373490607c437445163da8b7a44787f997ebf84 (diff) | |
Fix contrib/xml2 so regression test still works when it's built without libxslt.
This involves modifying the module to have a stable ABI, that is, the
xslt_process() function still exists even without libxslt. It throws a
runtime error if called, but doesn't prevent executing the CREATE FUNCTION
call. This is a good thing anyway to simplify cross-version upgrades.
Diffstat (limited to 'contrib/xml2/Makefile')
| -rw-r--r-- | contrib/xml2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile index 3426deaa25d..dd45a914c93 100644 --- a/contrib/xml2/Makefile +++ b/contrib/xml2/Makefile @@ -1,8 +1,8 @@ -# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.13 2010/02/28 21:31:57 tgl Exp $ +# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.14 2010/03/01 18:07:59 tgl Exp $ MODULE_big = pgxml -OBJS = $(if $(filter -lxslt, $(LIBS)), xpath.o xslt_proc.o, xpath.o) +OBJS = xpath.o xslt_proc.o SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS)) |
