File teddy-2.2-as-needed.patch of Package xteddy

Index: Makefile.am
===================================================================
--- Makefile.am.orig	2009-02-25 21:06:50.000000000 +0100
+++ Makefile.am	2009-12-29 16:33:41.925055000 +0100
@@ -7,7 +7,7 @@ man_MANS = xteddy.6
 bin_SCRIPTS = xtoys xteddy_test
 
 AM_CFLAGS  = @IMLIB2_CFLAGS@
-AM_LDFLAGS = @IMLIB2_LIBS@ -lX11
+xteddy_LDADD = @IMLIB2_LIBS@ -lX11
 
 DEFS = -DPIXMAP_PATH=\"@PIXMAP_PATH@\" -Wall
openSUSE Build Service is sponsored by