$NetBSD: patch-ao,v 1.2 2013/07/05 21:06:02 joerg Exp $

--- modules/expat/xmlparse/Makefile.am.orig	2000-06-14 08:53:42.000000000 +0000
+++ modules/expat/xmlparse/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with Automake to create Makefile.in.
 
-LDFLAGS = -version-info "1:0:1"
+LDFLAGS = @LDFLAGS@ -version-info "1:0:1"
 
 CFLAGS = @CFLAGS@ -DXML_NS
 
@@ -17,7 +17,7 @@ libxmlparse_la_SOURCES = \
 	hashtable.c \
 	xmlparse.c
 
-libxmlparse_la_LDFLAGS = -rpath $(libdir)
+libxmlparse_la_LDFLAGS = -rpath $(libdir) ../xmltok/libxmltok.la
 
 pkginclude_HEADERS = \
 	xmlparse.h
