Skip to contentSkip to conversation

libxml compile fix on Cygwin

PATCH Applied Kovarththanan Rajaratnam 2 participants 2 messages Aug 8, 2007 – Aug 10, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxml compile fix on Cygwin

Hello,

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

Makefile +1 -1
index 1e06794..f07290e 100644
@@ -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)