diff -pruN 1.2-11/debian/changelog 1.2-11ubuntu1/debian/changelog
--- 1.2-11/debian/changelog	2010-12-19 15:48:54.000000000 +0000
+++ 1.2-11ubuntu1/debian/changelog	2010-12-19 15:46:36.000000000 +0000
@@ -1,3 +1,10 @@
+atp (1.2-11ubuntu1) natty; urgency=low
+
+  * Makefile: Change order of library to fix a FTBFS with --as-needed
+    linker flag.
+
+ -- Stefan Potyra <sistpoty@ubuntu.com>  Sun, 19 Dec 2010 13:42:25 +0100
+
 atp (1.2-11) unstable; urgency=low
 
   * Change build-dep on libpaperg-dev to libpaper-dev
diff -pruN 1.2-11/debian/control 1.2-11ubuntu1/debian/control
--- 1.2-11/debian/control	2010-12-19 15:48:54.000000000 +0000
+++ 1.2-11ubuntu1/debian/control	2010-12-19 15:46:36.000000000 +0000
@@ -1,7 +1,8 @@
 Source: atp
 Section: text
 Priority: optional
-Maintainer: Hamish Moffatt <hamish@debian.org>
+XSBC-Original-Maintainer: Hamish Moffatt <hamish@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
 Standards-Version: 3.6.2
 Build-Depends: debhelper (>= 4), libpaper-dev
 
diff -pruN 1.2-11/Makefile 1.2-11ubuntu1/Makefile
--- 1.2-11/Makefile	2010-12-19 15:48:54.000000000 +0000
+++ 1.2-11ubuntu1/Makefile	2010-12-19 15:46:36.000000000 +0000
@@ -4,7 +4,7 @@
 # CC=acc
 # CC=cc
 CC=gcc
-LDFLAGS=-lpaper
+LDLIBS=-lpaper
 
 #To compile under MSDOS you may have to add -DMSDOS here, e.g., under
 #TurboC++1.0
@@ -16,7 +16,7 @@ BINDIR=/usr/local/bin
 MANDIR=/usr/local/man/man1
 
 atp: atp.o width.o
-	$(CC) $(CFLAGS) $(LDFLAGS) atp.o width.o -o atp
+	$(CC) $(CFLAGS) $(LDFLAGS) atp.o width.o $(LDLIBS) -o atp
 
 atp.o: atp.c
 
