From 7d84d3ec1c2014ca2246ab277420faa8bc23f218 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri, 10 Mar 2006 15:39:42 +0000
Subject: [PATCH] Fix order of linking of libxslt and libxml2, per Dave Page.

---
 contrib/xml2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile
index 5fdcc9fcd04..0bd5b032976 100644
--- a/contrib/xml2/Makefile
+++ b/contrib/xml2/Makefile
@@ -6,7 +6,7 @@ MODULE_big = pgxml
 OBJS = xpath.o xslt_proc.o
 
 # Remove -lxslt from the following line if you don't have libxslt.
-SHLIB_LINK = -lxml2 -lxslt
+SHLIB_LINK = -lxslt -lxml2
 
 DATA_built = pgxml.sql
 DATA = uninstall_pgxml.sql
-- 
GitLab