Package: fakepop Version: 10 Severity: wishlist Tags: patch Hi,
fakepop fails to build from source if --as-needed is used as a linker flag [1,2]. The reason is that --as-needed enforces strict ordering of the libraries (symbol users in front of symbol definitions). Attached is a patch that fixes the problem. Cheers, Stefan. [1]: <http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/fakepop_10_lubuntu32.buildlog> [2]: <http://people.ubuntuwire.org/~lucas/ubuntu-nbs/64/fakepop_10_lubuntu64.buildlog> -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-10-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- fakepop-10/Makefile 2004-12-04 19:54:21.000000000 +0100 +++ fakepop-10ubuntu1/Makefile 2010-12-18 17:43:28.000000000 +0100 @@ -3,7 +3,7 @@ GLIB_CFLAGS = $(shell pkg-config --cflags glib-2.0) GLIB_LDFLAGS = $(shell pkg-config --libs glib-2.0) CFLAGS = -D_GNU_SOURCE -Wall -O2 $(GLIB_CFLAGS) -LDFLAGS = $(GLIB_LDFLAGS) +LDLIBS = $(GLIB_LDFLAGS) all: fakepop