gwave (20090213-3) fix_needless_linking.diff

Summary

 spicefile/Makefile.in |    4 ++--
 src/Makefile.in       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

    
download this patch

Patch contents

Description: Reorder arguments when linking sp2sp & gwave so LDFLAGS would
 operate.
Forwarded: no
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -55,7 +55,7 @@
 	GtkTable_indel.$(OBJEXT)
 gwave_OBJECTS = $(am_gwave_OBJECTS)
 gwave_DEPENDENCIES = ../spicefile/libspicefile.a
-gwave_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(gwave_LDFLAGS) \
+gwave_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 	$(LDFLAGS) -o $@
 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
--- a/spicefile/Makefile.in
+++ b/spicefile/Makefile.in
@@ -189,8 +189,8 @@
 test_read_LDFLAGS = @GTK_LIBS@
 test_read_LDADD = libspicefile.a
 sp2sp_SOURCES = sp2sp.c
-sp2sp_LDFLAGS = @GTK_LIBS@
-sp2sp_LDADD = libspicefile.a
+sp2sp_LDFLAGS =
+sp2sp_LDADD = @GTK_LIBS@ libspicefile.a
 all: all-am
 
 .SUFFIXES: