Source: heroes
Followup-For: Bug #554799
Dear Maintainer,
The linking problem comes from the LIBS variable being overwritten due
to an M4 programming bug. Here is a patch that fixes the bug. With
this, the package should build properly with gold ld.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/aclocal.m4 b/aclocal.m4
index 2db2d3e..431d857 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1523,7 +1523,7 @@ if test ${with_sdl_mixer-yes} != no; then
# so that AC_caolan_CHECK_PACKAGE can find SDL_mixer.h in the same directory.
tmp_CPPFLAGS=$CPPFLAGS
CPPFLAGS=$SDL_CFLAGS $CPPFLAGS
- tmp_LIBS=$CPPLIBS
+ tmp_LIBS=$LIBS
LIBS=$SDL_LIBS $LIBS
AC_caolan_CHECK_PACKAGE([SDL_mixer], [Mix_OpenAudio],