Description: List libraries after the objects that require them
Author: Colin Watson <cjwatson@ubuntu.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/771125
Forwarded: no
Last-Update: 2011-09-13

---
 Makefile.am |    2 +-
 Makefile.in |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

--- packeth.orig/Makefile.am
+++ packeth/Makefile.am
@@ -29,7 +29,7 @@ pixmap_DATA=$(pixmaps)
 DEFS= \
   -DPKGDATADIR=\"$(pkgdatadir)/\"
 
-AM_LDFLAGS=$(DEPS_LIBS)
+packETH_LDADD=$(DEPS_LIBS)
 
 AM_CPPFLAGS = \
   -g \
--- packeth.orig/Makefile.in
+++ packeth/Makefile.in
@@ -55,7 +55,6 @@ am_packETH_OBJECTS = src/main.$(OBJEXT)
 	src/function.$(OBJEXT) src/function_send.$(OBJEXT) \
 	src/loadpacket.$(OBJEXT) src/savepacket.$(OBJEXT)
 packETH_OBJECTS = $(am_packETH_OBJECTS)
-packETH_LDADD = $(LDADD)
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
@@ -203,7 +202,7 @@ pixmaps = \
 
 pixmapdir = $(pkgdatadir)/pixmaps
 pixmap_DATA = $(pixmaps)
-AM_LDFLAGS = $(DEPS_LIBS)
+packETH_LDADD = $(DEPS_LIBS)
 AM_CPPFLAGS = \
   -g \
   -O2 \
