linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] libxml compile fix on Cygwin
@ 2007-08-08 20:34 Kovarththanan Rajaratnam
  2007-08-10  5:53 ` Josh Triplett
  0 siblings, 1 reply; 2+ messages in thread
From: Kovarththanan Rajaratnam @ 2007-08-08 20:34 UTC (permalink / raw)
  To: linux-sparse

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

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 <krj@rajaratnam.dk>


[-- Attachment #2: libxml_cygwin_fix.patch --]
[-- Type: text/x-patch, Size: 438 bytes --]

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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libxml compile fix on Cygwin
  2007-08-08 20:34 [PATCH] libxml compile fix on Cygwin Kovarththanan Rajaratnam
@ 2007-08-10  5:53 ` Josh Triplett
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Triplett @ 2007-08-10  5:53 UTC (permalink / raw)
  To: Kovarththanan Rajaratnam; +Cc: linux-sparse

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

Kovarththanan Rajaratnam wrote:
> I needed to re-arrange the libxml-2.0 library order to make sparse 
> compile on Cygwin. Patch attached.
> 
> Signed-off-by: Kovarththanan Rajaratnam <krj@rajaratnam.dk>

Applied; thanks!

- Josh Triplett


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-10  5:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 20:34 [PATCH] libxml compile fix on Cygwin Kovarththanan Rajaratnam
2007-08-10  5:53 ` Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).