File irda-fix_link_command.diff of Package irda

Index: irdadump/Makefile
===================================================================
--- irdadump/Makefile.orig	2009-11-26 18:36:55.000000000 +0100
+++ irdadump/Makefile	2009-11-26 18:40:47.323373041 +0100
@@ -20,7 +20,6 @@ SYS_LIBRARIES =
 SYS_LIBPATH = -L/usr/lib -L/usr/local/lib 
 
 CFLAGS= $(RPM_OPT_FLAGS) -O2 -W -Wall -I. `pkg-config --cflags glib-2.0`
-
 LIBIRDADUMP_OBJS = irdadump.o irlap.o irlmp.o obex.o ircomm.o netbuf.o capture.o
 IRDADUMP_OBJS = main.o
 
@@ -40,7 +39,7 @@ lib_irdadump.a: $(LIBIRDADUMP_OBJS)
 
 irdadump: $(IRDADUMP_OBJS) $(LIBIRDADUMP_TARGET)
 	$(prn_cc_o)
-	$(ECMD)$(CC) $(CFLAGS) `pkg-config --libs glib-2.0` -o  $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET)
+	$(ECMD)$(CC) $(CFLAGS) -o  $(IRDADUMP_TARGET) $< $(LIBIRDADUMP_TARGET) `pkg-config --libs glib-2.0`
 
 
 .c.o: