guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix linker error on Debian sid


From: Andreas Rottmann
Subject: [PATCH] Fix linker error on Debian sid
Date: Sun, 27 Feb 2011 23:24:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi!

Attached is a patch that fixes a linker error in the test suite when
using the default toolchain on Debian sid.  It should be applied to both
master and stable-2.0, I think.

From: Andreas Rottmann <address@hidden>
Subject: Fix linking for test suite wrt. --no-add-needed

See
<http://wiki.debian.org/ToolChain/DSOLinking#Notresolvingsymbolsinindirectdependentsharedlibraries>
for a description of the issue.

* test-suite/standalone/Makefile.am (test_with_guile_module_LDADD): Add
  $(BWD_GC_LIBS), as those are referenced via the libgc pthread shims.

---
 test-suite/standalone/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test-suite/standalone/Makefile.am 
b/test-suite/standalone/Makefile.am
index 861e668..f1f0716 100644
--- a/test-suite/standalone/Makefile.am
+++ b/test-suite/standalone/Makefile.am
@@ -176,7 +176,7 @@ if BUILD_PTHREAD_SUPPORT
 
 # test-with-guile-module
 test_with_guile_module_CFLAGS = ${test_cflags}
-test_with_guile_module_LDADD = ${top_builddir}/libguile/address@hidden@.la
+test_with_guile_module_LDADD = ${top_builddir}/libguile/address@hidden@.la 
$(BDW_GC_LIBS)
 check_PROGRAMS += test-with-guile-module
 TESTS += test-with-guile-module
 
-- 
tg: (229b4bd..) t/fix-test-linkage (depends on: master)
Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]