Hello,

I needed to re-arrange the libxml-2.0 library order to make sparse compile on Cygwin. Patch attached.

Signed-off-by: Kovarththanan Rajaratnam <[EMAIL PROTECTED]>

diff --git a/Makefile b/Makefile
index 1e06794..f07290e 100644
--- a/Makefile
+++ b/Makefile
@@ -124,7 +124,7 @@ ctags: ctags.o $(LIBS)
 	$(QUIET_LINK)$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
 
 c2xml: c2xml.o $(LIBS)
-	$(QUIET_LINK)$(CC) $(LDFLAGS) `pkg-config --libs libxml-2.0` -o $@ $< $(LIBS)
+	$(QUIET_LINK)$(CC) $(LDFLAGS)  -o $@ $< $(LIBS) `pkg-config --libs libxml-2.0`
 
 $(LIB_FILE): $(LIB_OBJS)
 	$(QUIET_AR)$(AR) rcs $@ $(LIB_OBJS)

Reply via email to